summaryrefslogtreecommitdiff
path: root/office/gbgoffice/10_workhelper-buttonbox.patch
diff options
context:
space:
mode:
authorPetar Petrov <ppetrov@paju.oulu.fi>2011-10-21 14:08:25 -0200
committerNiels Horn <niels.horn@slackbuilds.org>2011-10-21 15:59:21 -0200
commit9034e05f4e08af3be1f451e8974d79e24a57cb40 (patch)
treee3d3d0f3ff23003b391510ad1e4f29d5ae7c0e99 /office/gbgoffice/10_workhelper-buttonbox.patch
parentaf348d087fe2bbc34592caf807982b6d4f8948a2 (diff)
downloadslackbuilds-9034e05f4e08af3be1f451e8974d79e24a57cb40.tar.gz
office/gbgoffice: Added (Bgoffice dictionary frontend)
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
Diffstat (limited to 'office/gbgoffice/10_workhelper-buttonbox.patch')
-rw-r--r--office/gbgoffice/10_workhelper-buttonbox.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/office/gbgoffice/10_workhelper-buttonbox.patch b/office/gbgoffice/10_workhelper-buttonbox.patch
new file mode 100644
index 0000000000..d8d77a8dee
--- /dev/null
+++ b/office/gbgoffice/10_workhelper-buttonbox.patch
@@ -0,0 +1,16 @@
+# Description: fix hba declaration to match get_action_area return type
+# Gtk::Dialog 2.18 now defines this as a generic ButtonBox
+# Forwarded: no
+# Bug-Debian: 577371
+# Author: Damyan Ivanov <dmn@debian.org>
+--- a/src/workhelper.cpp
++++ b/src/workhelper.cpp
+@@ -39,7 +39,7 @@ WorkHelper::WorkHelper()
+ //set_resize_mode(Gtk::RESIZE_PARENT);
+ set_reallocate_redraws(true);
+
+- Gtk::HButtonBox *hba = get_action_area();
++ Gtk::ButtonBox *hba = get_action_area();
+
+ add_events(Gdk::ENTER_NOTIFY_MASK | Gdk::LEAVE_NOTIFY_MASK);
+