compare the string from the widget against the converted gconf value, not
2007-06-29 Jens Granseuer <jensgr@gmx.net> * gconf-property-editor.c: (peditor_string_value_changed): compare the string from the widget against the converted gconf value, not the unmodified one svn path=/trunk/; revision=7807
This commit is contained in:
parent
729cecafc0
commit
87fb51d921
2 changed files with 59 additions and 53 deletions
|
@ -1,3 +1,9 @@
|
|||
2007-06-29 Jens Granseuer <jensgr@gmx.net>
|
||||
|
||||
* gconf-property-editor.c: (peditor_string_value_changed): compare the
|
||||
string from the widget against the converted gconf value, not the
|
||||
unmodified one
|
||||
|
||||
2007-06-26 Michael Terry <mike@mterry.name>
|
||||
|
||||
* capplet-util.c, Makefile.am: Drastically simplify capplet_set_icon()
|
||||
|
|
|
@ -605,7 +605,7 @@ peditor_string_value_changed (GConfClient *client,
|
|||
if (entry && (value = gconf_entry_get_value (entry))) {
|
||||
value_wid = peditor->p->conv_to_widget_cb (peditor, value);
|
||||
entry_current_text = gtk_entry_get_text (GTK_ENTRY (peditor->p->ui_control));
|
||||
if (strcmp (entry_current_text, gconf_value_get_string (value)) != 0) {
|
||||
if (strcmp (entry_current_text, gconf_value_get_string (value_wid)) != 0) {
|
||||
gtk_entry_set_text (GTK_ENTRY (peditor->p->ui_control), gconf_value_get_string (value_wid));
|
||||
}
|
||||
gconf_value_free (value_wid);
|
||||
|
@ -1768,7 +1768,7 @@ peditor_tree_view_value_changed (GConfClient *client,
|
|||
GtkTreeSelection *selection;
|
||||
GConfValue *value_wid;
|
||||
|
||||
treeview = GTK_TREE_VIEW (peditor->p->ui_control);
|
||||
treeview = GTK_TREE_VIEW (peditor->p->ui_control);
|
||||
selection = gtk_tree_view_get_selection (treeview);
|
||||
|
||||
value_wid = peditor->p->conv_to_widget_cb (peditor, value);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue