diff options
Diffstat (limited to 'stickynotes')
-rw-r--r-- | stickynotes/stickynotes.c | 6 | ||||
-rw-r--r-- | stickynotes/stickynotes_applet.h | 8 |
2 files changed, 7 insertions, 7 deletions
diff --git a/stickynotes/stickynotes.c b/stickynotes/stickynotes.c index 880a1933..fc273943 100644 --- a/stickynotes/stickynotes.c +++ b/stickynotes/stickynotes.c @@ -840,13 +840,13 @@ stickynotes_save_now (void) } /* The XML file is $HOME/.config/mate/stickynotes_applet, most probably */ - //{ + { gchar* file = g_build_filename(g_get_home_dir(), ".config", "mate", "stickynotes-applet.xml", NULL); xmlSaveFormatFile(file, doc, 1); g_free(file); - //} + } xmlFreeDoc(doc); @@ -884,7 +884,7 @@ stickynotes_load (GdkScreen *screen) if (g_file_test(file, G_FILE_TEST_EXISTS)) { /* load file */ - doc = xmlParseFile(file); + doc = xmlParseFile(file); } else { diff --git a/stickynotes/stickynotes_applet.h b/stickynotes/stickynotes_applet.h index 6939ca0c..5a351502 100644 --- a/stickynotes/stickynotes_applet.h +++ b/stickynotes/stickynotes_applet.h @@ -41,7 +41,7 @@ /* Global Sticky Notes instance */ typedef struct { - GtkBuilder *builder; + GtkBuilder *builder; GtkWidget *w_prefs; /* The prefs dialog */ GtkAdjustment *w_prefs_width; @@ -57,7 +57,7 @@ typedef struct GList *notes; /* Linked-List of all the sticky notes */ GList *applets; /* Linked-List of all the applets */ - + GdkPixbuf *icon_normal; /* Normal applet icon */ GdkPixbuf *icon_prelight; /* Prelighted applet icon */ @@ -84,7 +84,7 @@ typedef struct GtkWidget *w_image; /* The applet icon */ GtkWidget *destroy_all_dialog; /* The applet it's destroy all dialog */ - + gboolean prelighted; /* Whether applet is prelighted */ gboolean pressed; /* Whether applet is pressed */ @@ -94,7 +94,7 @@ typedef struct GtkActionGroup *action_group; GtkWidget *menu_tip; } StickyNotesApplet; - + typedef enum { STICKYNOTES_NEW = 0, |