[Goodies-commits] r4678 - xfce4-notes-plugin/trunk/panel-plugin

Mike Massonnet mmassonnet at xfce.org
Sun Apr 27 19:43:34 CEST 2008


Author: mmassonnet
Date: 2008-04-27 17:43:33 +0000 (Sun, 27 Apr 2008)
New Revision: 4678

Modified:
   xfce4-notes-plugin/trunk/panel-plugin/notes.c
Log:
	* panel-plugin/notes.c(notes_window_load_data): Reset window title after we
	  pick up an automatic window name.


Modified: xfce4-notes-plugin/trunk/panel-plugin/notes.c
===================================================================
--- xfce4-notes-plugin/trunk/panel-plugin/notes.c	2008-04-26 16:03:05 UTC (rev 4677)
+++ xfce4-notes-plugin/trunk/panel-plugin/notes.c	2008-04-27 17:43:33 UTC (rev 4678)
@@ -504,6 +504,8 @@
       gtk_label_set_text (GTK_LABEL (notes_window->title), window_name);
       gtk_label_set_use_markup (GTK_LABEL (notes_window->title), TRUE);
       g_free (window_name);
+
+      gtk_window_set_title (GTK_WINDOW (notes_window->window), notes_window->name);
     }
 
   rc = xfce_rc_simple_open (notes_window->notes_plugin->config_file, FALSE);




More information about the Goodies-commits mailing list