After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 139501 - signal_changed on properties of Gtk::Settings doesn't work
signal_changed on properties of Gtk::Settings doesn't work
Status: RESOLVED FIXED
Product: gtkmm
Classification: Bindings
Component: general
2.4
Other Linux
: Normal normal
: ---
Assigned To: gtkmm-forge
gtkmm-forge
Depends on:
Blocks:
 
 
Reported: 2004-04-08 17:39 UTC by Bryan Forbes
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Test case to show the behavior described above. (1.72 KB, text/plain)
2004-04-08 17:40 UTC, Bryan Forbes
Details
Modified c++ test case (1.74 KB, text/plain)
2004-04-09 05:18 UTC, Bryan Forbes
Details
C test case which does what C++ test case should (1.25 KB, text/plain)
2004-04-09 05:18 UTC, Bryan Forbes
Details
settings_test.cc (1.60 KB, text/x-c++src)
2004-04-09 14:57 UTC, Murray Cumming
Details

Description Bryan Forbes 2004-04-08 17:39:12 UTC
Compile this test case using cvs HEAD and change the gtk theme or icon theme. 
Nothing happens.  This should not be the case.  I don't think that get_default()
is really getting the one and only instance of Gtk::Settings correctly.
Comment 1 Bryan Forbes 2004-04-08 17:40:43 UTC
Created attachment 26483 [details]
Test case to show the behavior described above.
Comment 2 Bryan Forbes 2004-04-09 05:18:10 UTC
Created attachment 26497 [details]
Modified c++ test case
Comment 3 Bryan Forbes 2004-04-09 05:18:54 UTC
Created attachment 26498 [details]
C test case which does what C++ test case should
Comment 4 Murray Cumming 2004-04-09 14:55:08 UTC
This is fixed now, in glibmm in cvs. glibmm was replacing - with _ in the
property name that it passed to GTK+.

There was some segfaulting problem with your use of sigc::bind<const
Glib::ustring&>(), instead of sigc::bind(), so I am uploading a new test case.
(settings_test.cc).
Comment 5 Murray Cumming 2004-04-09 14:57:26 UTC
Created attachment 26529 [details]
settings_test.cc