Mercurial > pidgin.yaz
comparison 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 |
comparison
equal
deleted
inserted
replaced
| 26719:9484cc400aca | 26720:78bca07e6737 |
|---|---|
| 40 GParamSpec *spec = g_object_class_find_property(G_OBJECT_CLASS(klass), prop); | 40 GParamSpec *spec = g_object_class_find_property(G_OBJECT_CLASS(klass), prop); |
| 41 | 41 |
| 42 return G_IS_PARAM_SPEC_BOXED(spec); | 42 return G_IS_PARAM_SPEC_BOXED(spec); |
| 43 } | 43 } |
| 44 | 44 |
| 45 #ifdef NOT_SADRUL | |
| 45 static void | 46 static void |
| 46 save_blist_theme(GtkWidget *w, GtkWidget *window) | 47 save_blist_theme(GtkWidget *w, GtkWidget *window) |
| 47 { | 48 { |
| 48 /* TODO: SAVE! */ | 49 /* TODO: SAVE! */ |
| 50 gtk_widget_destroy(window); | |
| 51 } | |
| 52 #endif | |
| 53 | |
| 54 static void | |
| 55 close_blist_theme(GtkWidget *w, GtkWidget *window) | |
| 56 { | |
| 49 gtk_widget_destroy(window); | 57 gtk_widget_destroy(window); |
| 50 } | 58 } |
| 51 | 59 |
| 52 static void | 60 static void |
| 53 theme_color_selected(GtkDialog *dialog, gint response, const char *prop) | 61 theme_color_selected(GtkDialog *dialog, gint response, const char *prop) |
| 277 } | 285 } |
| 278 } | 286 } |
| 279 } | 287 } |
| 280 | 288 |
| 281 gtk_dialog_set_has_separator(GTK_DIALOG(dialog), TRUE); | 289 gtk_dialog_set_has_separator(GTK_DIALOG(dialog), TRUE); |
| 290 #ifdef NOT_SADRUL | |
| 282 pidgin_dialog_add_button(GTK_DIALOG(dialog), GTK_STOCK_SAVE, G_CALLBACK(save_blist_theme), dialog); | 291 pidgin_dialog_add_button(GTK_DIALOG(dialog), GTK_STOCK_SAVE, G_CALLBACK(save_blist_theme), dialog); |
| 292 #endif | |
| 293 pidgin_dialog_add_button(GTK_DIALOG(dialog), GTK_STOCK_CLOSE, G_CALLBACK(close_blist_theme), dialog); | |
| 294 | |
| 283 gtk_widget_show_all(dialog); | 295 gtk_widget_show_all(dialog); |
| 284 | 296 |
| 285 g_object_unref(group); | 297 g_object_unref(group); |
| 286 } | 298 } |
| 287 | 299 |
