xchat-gnome r2631 - trunk/src/fe-gnome
- From: diegoe svn gnome org
- To: svn-commits-list gnome org
- Subject: xchat-gnome r2631 - trunk/src/fe-gnome
- Date: Sun, 31 Aug 2008 15:34:21 +0000 (UTC)
Author: diegoe
Date: Sun Aug 31 15:34:20 2008
New Revision: 2631
URL: http://svn.gnome.org/viewvc/xchat-gnome?rev=2631&view=rev
Log:
Listen for file-set and not selection-changed.
The preferences window was eating the CPU and memory because of it listening on
the wrong signal.
Modified:
trunk/src/fe-gnome/preferences-page-effects.c
Modified: trunk/src/fe-gnome/preferences-page-effects.c
==============================================================================
--- trunk/src/fe-gnome/preferences-page-effects.c (original)
+++ trunk/src/fe-gnome/preferences-page-effects.c Sun Aug 31 15:34:20 2008
@@ -186,7 +186,7 @@
g_signal_connect (G_OBJECT (page->background_none), "toggled", G_CALLBACK (type_changed), page);
g_signal_connect (G_OBJECT (page->background_image), "toggled", G_CALLBACK (type_changed), page);
g_signal_connect (G_OBJECT (page->background_transparent), "toggled", G_CALLBACK (type_changed), page);
- g_signal_connect (G_OBJECT (page->background_image_file), "selection-changed", G_CALLBACK (image_changed), page);
+ g_signal_connect (G_OBJECT (page->background_image_file), "file-set", G_CALLBACK (image_changed), page);
g_signal_connect (G_OBJECT (page->background_transparency), "value-changed", G_CALLBACK (transparency_changed), page);
page->nh[0] = gconf_client_notify_add (p->gconf, "/apps/xchat/main_window/background_type", (GConfClientNotifyFunc) gconf_type_changed, page, NULL, NULL);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]