diff options
author | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2003-05-05 07:15:19 +0800 |
---|---|---|
committer | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2003-05-05 07:15:19 +0800 |
commit | 6b6865f5cbce89603c21570744cc33b6bebe84a2 (patch) | |
tree | abec934e19650988dd2e967b93a6c2e23800b178 /x11/gnome-applets/files | |
parent | 096af9509dc0e76422fef74f305ab0786c81cd18 (diff) | |
download | marcuscom-ports-6b6865f5cbce89603c21570744cc33b6bebe84a2.tar marcuscom-ports-6b6865f5cbce89603c21570744cc33b6bebe84a2.tar.gz marcuscom-ports-6b6865f5cbce89603c21570744cc33b6bebe84a2.tar.bz2 marcuscom-ports-6b6865f5cbce89603c21570744cc33b6bebe84a2.tar.lz marcuscom-ports-6b6865f5cbce89603c21570744cc33b6bebe84a2.tar.xz marcuscom-ports-6b6865f5cbce89603c21570744cc33b6bebe84a2.tar.zst marcuscom-ports-6b6865f5cbce89603c21570744cc33b6bebe84a2.zip |
Update to 2.3.2.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@707 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'x11/gnome-applets/files')
-rw-r--r-- | x11/gnome-applets/files/patch-stickynotes_stickynotes_applet_callbacks.c | 52 |
1 files changed, 0 insertions, 52 deletions
diff --git a/x11/gnome-applets/files/patch-stickynotes_stickynotes_applet_callbacks.c b/x11/gnome-applets/files/patch-stickynotes_stickynotes_applet_callbacks.c deleted file mode 100644 index 7ed7fffde..000000000 --- a/x11/gnome-applets/files/patch-stickynotes_stickynotes_applet_callbacks.c +++ /dev/null @@ -1,52 +0,0 @@ ---- stickynotes/stickynotes_applet_callbacks.c.orig Sat Apr 12 17:17:50 2003 -+++ stickynotes/stickynotes_applet_callbacks.c Sat Apr 12 17:19:37 2003 -@@ -168,19 +168,26 @@ - /* Menu Callback : Configure preferences */ - void menu_preferences_cb(BonoboUIComponent *uic, StickyNotesApplet *stickynotes, const gchar *verbname) - { -+ GtkWidget *preferences_dialog; -+ GtkAdjustment *width_adjust; -+ GtkAdjustment *height_adjust; -+ GtkWidget *sticky_check; -+ GtkWidget *note_color; -+ GtkWidget *click_behavior_menu; -+ - if (stickynotes->prefs != NULL) { - gdk_window_raise(glade_xml_get_widget(stickynotes->prefs, "preferences_dialog")->window); - return; - } - - stickynotes->prefs = glade_xml_new(GLADE_PATH, "preferences_dialog", NULL); -- GtkWidget *preferences_dialog = glade_xml_get_widget(stickynotes->prefs, "preferences_dialog"); -+ preferences_dialog = glade_xml_get_widget(stickynotes->prefs, "preferences_dialog"); - -- GtkAdjustment *width_adjust = gtk_spin_button_get_adjustment(GTK_SPIN_BUTTON(glade_xml_get_widget(stickynotes->prefs, "width_spin"))); -- GtkAdjustment *height_adjust = gtk_spin_button_get_adjustment(GTK_SPIN_BUTTON(glade_xml_get_widget(stickynotes->prefs, "height_spin"))); -- GtkWidget *sticky_check = glade_xml_get_widget(stickynotes->prefs, "sticky_check"); -- GtkWidget *note_color = glade_xml_get_widget(stickynotes->prefs, "note_color"); -- GtkWidget *click_behavior_menu = glade_xml_get_widget(stickynotes->prefs, "click_behavior_menu"); -+ width_adjust = gtk_spin_button_get_adjustment(GTK_SPIN_BUTTON(glade_xml_get_widget(stickynotes->prefs, "width_spin"))); -+ height_adjust = gtk_spin_button_get_adjustment(GTK_SPIN_BUTTON(glade_xml_get_widget(stickynotes->prefs, "height_spin"))); -+ sticky_check = glade_xml_get_widget(stickynotes->prefs, "sticky_check"); -+ note_color = glade_xml_get_widget(stickynotes->prefs, "note_color"); -+ click_behavior_menu = glade_xml_get_widget(stickynotes->prefs, "click_behavior_menu"); - - { - GtkSizeGroup *size= gtk_size_group_new(GTK_SIZE_GROUP_HORIZONTAL); -@@ -232,13 +239,15 @@ - /* Menu Callback : Display About window */ - void menu_about_cb(BonoboUIComponent *uic, StickyNotesApplet *stickynotes, const gchar *verbname) - { -+ GtkWidget *about_dialog; -+ - if (stickynotes->about != NULL) { - gdk_window_raise(glade_xml_get_widget(stickynotes->about, "about_dialog")->window); - return; - } - - stickynotes->about = glade_xml_new(GLADE_PATH, "about_dialog", NULL); -- GtkWidget *about_dialog = glade_xml_get_widget(stickynotes->about, "about_dialog"); -+ about_dialog = glade_xml_get_widget(stickynotes->about, "about_dialog"); - - g_signal_connect(G_OBJECT(about_dialog), "response", G_CALLBACK(about_response_cb), stickynotes); - |