Mercurial > pidgin.yaz
comparison pidgin/gtkblist.c @ 19805:d6a308e375b9
More dialogs made transient
author | Gabriel Schulhof <nix@go-nix.ca> |
---|---|
date | Tue, 24 Jul 2007 20:28:29 +0000 |
parents | d5e2a4897bbc |
children | b9f5d8e14794 |
comparison
equal
deleted
inserted
replaced
19804:c229bf90b6a4 | 19805:d6a308e375b9 |
---|---|
2822 } | 2822 } |
2823 | 2823 |
2824 static void | 2824 static void |
2825 toggle_debug(void) | 2825 toggle_debug(void) |
2826 { | 2826 { |
2827 gboolean current_setting = purple_prefs_get_bool(PIDGIN_PREFS_ROOT "/debug/enabled"); | |
2828 | |
2829 if (!current_setting) | |
2830 pidgin_set_toplevel(GTK_WINDOW(gtkblist->window)); | |
2827 purple_prefs_set_bool(PIDGIN_PREFS_ROOT "/debug/enabled", | 2831 purple_prefs_set_bool(PIDGIN_PREFS_ROOT "/debug/enabled", |
2828 !purple_prefs_get_bool(PIDGIN_PREFS_ROOT "/debug/enabled")); | 2832 !current_setting); |
2829 } | 2833 } |
2830 | 2834 |
2831 static void | 2835 static void |
2832 blist_show_plugins_cb(GtkWidget *widget, gpointer null) | 2836 blist_show_plugins_cb(GtkWidget *widget, gpointer null) |
2833 { | 2837 { |