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

Mike Massonnet mmassonnet at xfce.org
Sun Nov 26 16:45:13 CET 2006


Author: mmassonnet
Date: 2006-11-26 15:45:09 +0000 (Sun, 26 Nov 2006)
New Revision: 2181

Modified:
   xfce4-notes-plugin/trunk/ChangeLog
   xfce4-notes-plugin/trunk/panel-plugin/notes.c
Log:
	* panel-plugin/notes.c: Fix a bug with the task_switcher.

Modified: xfce4-notes-plugin/trunk/ChangeLog
===================================================================
--- xfce4-notes-plugin/trunk/ChangeLog	2006-11-26 00:40:48 UTC (rev 2180)
+++ xfce4-notes-plugin/trunk/ChangeLog	2006-11-26 15:45:09 UTC (rev 2181)
@@ -1,5 +1,6 @@
 2006-11-26  Mike Massonnet <mmassonnet at gmail.com>
 
+	* panel-plugin/notes.c: Fix a bug with the task_switcher.
 	* panel-plugin/notes.c: Don't focus the notebook.
 
 2006-11-25  Mike Massonnet <mmassonnet at gmail.com>

Modified: xfce4-notes-plugin/trunk/panel-plugin/notes.c
===================================================================
--- xfce4-notes-plugin/trunk/panel-plugin/notes.c	2006-11-26 00:40:48 UTC (rev 2180)
+++ xfce4-notes-plugin/trunk/panel-plugin/notes.c	2006-11-26 15:45:09 UTC (rev 2181)
@@ -45,33 +45,25 @@
 
 static void         notes_free_data         (XfcePanelPlugin *,
                                              NotesPlugin *);
-
 static void         notes_save              (XfcePanelPlugin *,
                                              NotesPlugin *);
-
 static gboolean     save_on_timeout_execute (NotesPlugin *);
 
 static void         notes_configure         (XfcePanelPlugin *, 
                                              NotesPlugin *);
-
 static gboolean     notes_set_size          (XfcePanelPlugin *, 
                                              int size, 
                                              NotesPlugin *);
-
 static void         notes_load_data         (XfcePanelPlugin *, 
                                              NotesPlugin *);
-
 static gboolean     notes_button_clicked    (XfcePanelPlugin *, 
                                              NotesPlugin *);
-
 static void         on_options_response     (GtkWidget *,
                                              int response, 
                                              NotesPlugin *);
-
 static gboolean     notes_message_received  (GtkWidget *, 
                                              GdkEventClient *,
                                              gpointer data);
-
 static gboolean     notes_set_selection     (NotesPlugin *notes);
 
 
@@ -382,6 +374,12 @@
         else
             gtk_window_unstick (GTK_WINDOW (notes->note->window));
 
+        if (!notes->options.task_switcher)
+          {
+            gtk_window_set_skip_pager_hint (GTK_WINDOW (notes->note->window), TRUE);
+            gtk_window_set_skip_taskbar_hint (GTK_WINDOW (notes->note->window), TRUE);
+          }
+
         if (!notes->options.statusbar)
           {
             gtk_widget_hide (notes->note->statusbar);




More information about the Goodies-commits mailing list