diff options
author | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2004-02-25 07:32:34 +0800 |
---|---|---|
committer | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2004-02-25 07:32:34 +0800 |
commit | 099e143ffbfded9bd7714483f785f4311e005248 (patch) | |
tree | 06da118ca1d647688079150a6267884412117efb /x11/gnome-applets/files | |
parent | 0d7f0ba9e2fb3e26d2a5f3d80dfef68960b80fef (diff) | |
download | marcuscom-ports-099e143ffbfded9bd7714483f785f4311e005248.tar marcuscom-ports-099e143ffbfded9bd7714483f785f4311e005248.tar.gz marcuscom-ports-099e143ffbfded9bd7714483f785f4311e005248.tar.bz2 marcuscom-ports-099e143ffbfded9bd7714483f785f4311e005248.tar.lz marcuscom-ports-099e143ffbfded9bd7714483f785f4311e005248.tar.xz marcuscom-ports-099e143ffbfded9bd7714483f785f4311e005248.tar.zst marcuscom-ports-099e143ffbfded9bd7714483f785f4311e005248.zip |
Add a patch forgotten in the last commit.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@1888 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'x11/gnome-applets/files')
-rw-r--r-- | x11/gnome-applets/files/patch-stickynotes_stickynotes_applet.c | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/x11/gnome-applets/files/patch-stickynotes_stickynotes_applet.c b/x11/gnome-applets/files/patch-stickynotes_stickynotes_applet.c new file mode 100644 index 000000000..7e0b6e33f --- /dev/null +++ b/x11/gnome-applets/files/patch-stickynotes_stickynotes_applet.c @@ -0,0 +1,36 @@ +--- stickynotes/stickynotes_applet.c.orig Sun Feb 22 19:32:18 2004 ++++ stickynotes/stickynotes_applet.c Sun Feb 22 19:34:42 2004 +@@ -337,20 +337,24 @@ + + void stickynotes_applet_update_prefs() + { +- gint width = gconf_client_get_int(stickynotes->gconf, GCONF_PATH "/defaults/width", NULL); ++ gint width, height; ++ gboolean sys_color, sys_font, click_behavior, sticky, force_default; ++ gchar *font_str; ++ GdkColor color; ++ ++ width = gconf_client_get_int(stickynotes->gconf, GCONF_PATH "/defaults/width", NULL); + width = MAX (width, 1); +- gint height = gconf_client_get_int(stickynotes->gconf, GCONF_PATH "/defaults/height", NULL); ++ height = gconf_client_get_int(stickynotes->gconf, GCONF_PATH "/defaults/height", NULL); + height = MAX (height, 1); +- gboolean sys_color = gconf_client_get_bool(stickynotes->gconf, GCONF_PATH "/settings/use_system_color", NULL); +- gboolean sys_font = gconf_client_get_bool(stickynotes->gconf, GCONF_PATH "/settings/use_system_font", NULL); +- gint click_behavior = gconf_client_get_int(stickynotes->gconf, GCONF_PATH "/settings/click_behavior", NULL); +- gboolean sticky = gconf_client_get_bool(stickynotes->gconf, GCONF_PATH "/settings/sticky", NULL); +- gboolean force_default = gconf_client_get_bool(stickynotes->gconf, GCONF_PATH "/settings/force_default", NULL); +- gchar *font_str = gconf_client_get_string(stickynotes->gconf, GCONF_PATH "/defaults/font", NULL); ++ sys_color = gconf_client_get_bool(stickynotes->gconf, GCONF_PATH "/settings/use_system_color", NULL); ++ sys_font = gconf_client_get_bool(stickynotes->gconf, GCONF_PATH "/settings/use_system_font", NULL); ++ click_behavior = gconf_client_get_int(stickynotes->gconf, GCONF_PATH "/settings/click_behavior", NULL); ++ sticky = gconf_client_get_bool(stickynotes->gconf, GCONF_PATH "/settings/sticky", NULL); ++ force_default = gconf_client_get_bool(stickynotes->gconf, GCONF_PATH "/settings/force_default", NULL); ++ font_str = gconf_client_get_string(stickynotes->gconf, GCONF_PATH "/defaults/font", NULL); + if (!font_str) + font_str = g_strdup ("Sans 10"); + +- GdkColor color; + { + gchar *color_str = gconf_client_get_string(stickynotes->gconf, GCONF_PATH "/defaults/color", NULL); + if (!color_str) |