Unset the image when the label is set to "(None)". Reported by Neil
* gtk/gtkfilechooserbutton.c (update_label_and_image): Unset the image when the label is set to "(None)". Reported by Neil Roberts svn path=/trunk/; revision=20833
This commit is contained in:
parent
bae6c5576f
commit
b0ac0f978e
@ -1,5 +1,12 @@
|
|||||||
2008-07-15 Matthias Clasen <mclasen@redhat.com>
|
2008-07-15 Matthias Clasen <mclasen@redhat.com>
|
||||||
|
|
||||||
|
Bug 488766 – GtkFileChooserButton doesn't clear icon after
|
||||||
|
gtk_file_chooser_unselect_all
|
||||||
|
|
||||||
|
* gtk/gtkfilechooserbutton.c (update_label_and_image): Unset
|
||||||
|
the image when the label is set to "(None)". Reported by
|
||||||
|
Neil Roberts
|
||||||
|
|
||||||
* tests/testfilechooserbutton.c: Add an "Unselect all" button.
|
* tests/testfilechooserbutton.c: Add an "Unselect all" button.
|
||||||
|
|
||||||
2008-07-15 Matthias Clasen <mclasen@redhat.com>
|
2008-07-15 Matthias Clasen <mclasen@redhat.com>
|
||||||
|
@ -2387,12 +2387,15 @@ out:
|
|||||||
g_free (label_text);
|
g_free (label_text);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
gtk_label_set_text (GTK_LABEL (priv->label), _(FALLBACK_DISPLAY_NAME));
|
{
|
||||||
|
gtk_label_set_text (GTK_LABEL (priv->label), _(FALLBACK_DISPLAY_NAME));
|
||||||
|
gtk_image_set_from_pixbuf (GTK_IMAGE (priv->image), NULL);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/* ************************ *
|
/* ************************ *
|
||||||
* Child Object Callbacks *
|
/* Child Object Callbacks *
|
||||||
* ************************ */
|
* ************************ */
|
||||||
|
|
||||||
/* File System */
|
/* File System */
|
||||||
|
Loading…
Reference in New Issue
Block a user