[Goodies-commits] r2180 - in xfce4-notes-plugin/trunk: . panel-plugin

Mike Massonnet mmassonnet at xfce.org
Sun Nov 26 01:40:54 CET 2006


Author: mmassonnet
Date: 2006-11-26 00:40:48 +0000 (Sun, 26 Nov 2006)
New Revision: 2180

Modified:
   xfce4-notes-plugin/trunk/ChangeLog
   xfce4-notes-plugin/trunk/panel-plugin/notes.c
Log:
	* panel-plugin/notes.c: Don't focus the notebook.

Modified: xfce4-notes-plugin/trunk/ChangeLog
===================================================================
--- xfce4-notes-plugin/trunk/ChangeLog	2006-11-25 19:33:05 UTC (rev 2179)
+++ xfce4-notes-plugin/trunk/ChangeLog	2006-11-26 00:40:48 UTC (rev 2180)
@@ -1,3 +1,7 @@
+2006-11-26  Mike Massonnet <mmassonnet at gmail.com>
+
+	* panel-plugin/notes.c: Don't focus the notebook.
+
 2006-11-25  Mike Massonnet <mmassonnet at gmail.com>
 
 	* po/{*,fr,de}: make update-po.  Update french and german.

Modified: xfce4-notes-plugin/trunk/panel-plugin/notes.c
===================================================================
--- xfce4-notes-plugin/trunk/panel-plugin/notes.c	2006-11-25 19:33:05 UTC (rev 2179)
+++ xfce4-notes-plugin/trunk/panel-plugin/notes.c	2006-11-26 00:40:48 UTC (rev 2180)
@@ -370,6 +370,8 @@
         gtk_window_resize (GTK_WINDOW (notes->note->window), notes->note->w,
                            notes->note->h);
 
+        GTK_WIDGET_UNSET_FLAGS (notes->note->notebook, GTK_CAN_FOCUS);
+
         gtk_widget_show_all (notes->note->window);
 
         gtk_window_set_keep_above (GTK_WINDOW (notes->note->window),




More information about the Goodies-commits mailing list