[Goodies-commits] r2083 - in xfce4-dict-plugin/trunk: . panel-plugin

Enrico Troeger enrico at xfce.org
Mon Oct 2 01:35:08 CEST 2006


Author: enrico
Date: 2006-10-01 23:35:07 +0000 (Sun, 01 Oct 2006)
New Revision: 2083

Modified:
   xfce4-dict-plugin/trunk/ChangeLog
   xfce4-dict-plugin/trunk/panel-plugin/dict.c
Log:
Fixed display of panel text field when panel has no horizontal orientation.


Modified: xfce4-dict-plugin/trunk/ChangeLog
===================================================================
--- xfce4-dict-plugin/trunk/ChangeLog	2006-10-01 23:24:30 UTC (rev 2082)
+++ xfce4-dict-plugin/trunk/ChangeLog	2006-10-01 23:35:07 UTC (rev 2083)
@@ -1,5 +1,6 @@
 2006-10-01 enrico
 
+	* Fixed display of panel text field when panel has no horizontal orientation.
 	* Fixed some minor GUI issues to improve usability
 	  (thanks to Fabian Nowak for his suggestions).
 	* Use a dynamic buffer when retrieving the response from a server to avoid

Modified: xfce4-dict-plugin/trunk/panel-plugin/dict.c
===================================================================
--- xfce4-dict-plugin/trunk/panel-plugin/dict.c	2006-10-01 23:24:30 UTC (rev 2082)
+++ xfce4-dict-plugin/trunk/panel-plugin/dict.c	2006-10-01 23:35:07 UTC (rev 2083)
@@ -574,7 +574,7 @@
 
 		dd->show_panel_entry = gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(dd->check_panel_entry));
 		dd->panel_entry_size = gtk_spin_button_get_value_as_int(GTK_SPIN_BUTTON(dd->panel_entry_size_spinner));
-		if (dd->show_panel_entry)
+		if (dd->show_panel_entry && xfce_panel_plugin_get_orientation(dd->plugin) == GTK_ORIENTATION_HORIZONTAL)
 		{
 			gtk_widget_show(dd->panel_entry);
 		}




More information about the Goodies-commits mailing list