diff pidgin/plugins/themeedit-icon.c @ 26720:78bca07e6737

Disable the 'Save' buttons since they don't do nothing yet, man.
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Thu, 23 Apr 2009 01:36:55 +0000
parents ed8385b26f6e
children 81559f83e993
line wrap: on
line diff
--- a/pidgin/plugins/themeedit-icon.c	Thu Apr 23 00:34:18 2009 +0000
+++ b/pidgin/plugins/themeedit-icon.c	Thu Apr 23 01:36:55 2009 +0000
@@ -174,12 +174,20 @@
 	g_object_unref(theme);
 }
 
+#ifdef NOT_SADRUL
 static void
 save_icon_theme(GtkWidget *w, GtkWidget *window)
 {
 	/* TODO: SAVE! */
 	gtk_widget_destroy(window);
 }
+#endif
+
+static void
+close_icon_theme(GtkWidget *w, GtkWidget *window)
+{
+	gtk_widget_destroy(window);
+}
 
 static void
 stock_icon_selected(const char *filename, gpointer image)
@@ -293,8 +301,11 @@
 		}
 	}
 
+#ifdef NOT_SADRUL
 	pidgin_dialog_add_button(GTK_DIALOG(dialog), GTK_STOCK_SAVE, G_CALLBACK(save_icon_theme), dialog);
+#endif
 	pidgin_dialog_add_button(GTK_DIALOG(dialog), GTK_STOCK_APPLY, G_CALLBACK(use_icon_theme), dialog);
+	pidgin_dialog_add_button(GTK_DIALOG(dialog), GTK_STOCK_CLOSE, G_CALLBACK(close_icon_theme), dialog);
 	gtk_widget_show_all(dialog);
 	g_object_unref(sizegroup);
 }