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

Enrico Troeger enrico at xfce.org
Mon Oct 2 12:19:12 CEST 2006


Author: enrico
Date: 2006-10-02 10:19:10 +0000 (Mon, 02 Oct 2006)
New Revision: 2084

Modified:
   xfce4-dict-plugin/trunk/ChangeLog
   xfce4-dict-plugin/trunk/panel-plugin/dict.c
Log:
Again 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:35:07 UTC (rev 2083)
+++ xfce4-dict-plugin/trunk/ChangeLog	2006-10-02 10:19:10 UTC (rev 2084)
@@ -1,3 +1,8 @@
+2006-10-02 enrico
+
+	* Again fixed display of panel text field when panel has no horizontal orientation.
+
+
 2006-10-01 enrico
 
 	* Fixed display of panel text field when panel has no horizontal orientation.

Modified: xfce4-dict-plugin/trunk/panel-plugin/dict.c
===================================================================
--- xfce4-dict-plugin/trunk/panel-plugin/dict.c	2006-10-01 23:35:07 UTC (rev 2083)
+++ xfce4-dict-plugin/trunk/panel-plugin/dict.c	2006-10-02 10:19:10 UTC (rev 2084)
@@ -1046,7 +1046,7 @@
 	g_signal_connect(dd->panel_entry, "activate", G_CALLBACK(entry_activate_cb), dd);
 	g_signal_connect(dd->panel_entry, "button-press-event", G_CALLBACK(dict_panel_entry_buttonpress_cb), dd);
 
-	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);
 
     hbox = gtk_hbox_new(FALSE, 0);




More information about the Goodies-commits mailing list