diff pidgin/plugins/themeedit.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 5d71de58452c
children 81559f83e993
line wrap: on
line diff
--- a/pidgin/plugins/themeedit.c	Thu Apr 23 00:34:18 2009 +0000
+++ b/pidgin/plugins/themeedit.c	Thu Apr 23 01:36:55 2009 +0000
@@ -42,12 +42,20 @@
 	return G_IS_PARAM_SPEC_BOXED(spec);
 }
 
+#ifdef NOT_SADRUL
 static void
 save_blist_theme(GtkWidget *w, GtkWidget *window)
 {
 	/* TODO: SAVE! */
 	gtk_widget_destroy(window);
 }
+#endif
+
+static void
+close_blist_theme(GtkWidget *w, GtkWidget *window)
+{
+	gtk_widget_destroy(window);
+}
 
 static void
 theme_color_selected(GtkDialog *dialog, gint response, const char *prop)
@@ -279,7 +287,11 @@
 	}
 
 	gtk_dialog_set_has_separator(GTK_DIALOG(dialog), TRUE);
+#ifdef NOT_SADRUL
 	pidgin_dialog_add_button(GTK_DIALOG(dialog), GTK_STOCK_SAVE, G_CALLBACK(save_blist_theme), dialog);
+#endif
+	pidgin_dialog_add_button(GTK_DIALOG(dialog), GTK_STOCK_CLOSE, G_CALLBACK(close_blist_theme), dialog);
+
 	gtk_widget_show_all(dialog);
 
 	g_object_unref(group);