summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCallum McKenzie <callum@spooky-possum.org>2009-09-12 14:56:24 +1200
committerCallum McKenzie <callum@spooky-possum.org>2009-09-12 14:56:24 +1200
commita5cf6262af537ca55a9397d68c339c14a27c9455 (patch)
tree5832cbac30087b3d02574ed329cb8d34972201c5
parent1e168c5046a5d0599cfc163960bd5be5163d7de9 (diff)
stickynotes: Further tweaks to the .ui duplicate name issue.
Fixing a few cases where the wrong widget was still being read (should have been no crash though).
-rw-r--r--stickynotes/stickynotes.ui2
-rw-r--r--stickynotes/stickynotes_applet.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/stickynotes/stickynotes.ui b/stickynotes/stickynotes.ui
index b08d1b91c..7035355db 100644
--- a/stickynotes/stickynotes.ui
+++ b/stickynotes/stickynotes.ui
@@ -131,7 +131,7 @@
<property name="visible">True</property>
<property name="left_padding">16</property>
<child>
- <object class="GtkLabel" id="pref_color_label">
+ <object class="GtkLabel" id="prefs_color_label">
<property name="visible">True</property>
<property name="xalign">0</property>
<property name="label" translatable="yes">Note C_olor:</property>
diff --git a/stickynotes/stickynotes_applet.c b/stickynotes/stickynotes_applet.c
index e89cf8f45..4d0c75cbc 100644
--- a/stickynotes/stickynotes_applet.c
+++ b/stickynotes/stickynotes_applet.c
@@ -216,7 +216,7 @@ void stickynotes_applet_init_prefs(void)
stickynotes->w_prefs_color = GTK_WIDGET (gtk_builder_get_object (stickynotes->builder,
"default_color"));
stickynotes->w_prefs_font_color = GTK_WIDGET (gtk_builder_get_object (stickynotes->builder,
- "font_color"));
+ "prefs_font_color"));
stickynotes->w_prefs_sys_color = GTK_WIDGET (&GTK_CHECK_BUTTON (
gtk_builder_get_object (stickynotes->builder,
"sys_color_check"))->toggle_button);