[gthumb] removed the close button on the filterbar
- From: Paolo Bacchilega <paobac src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gthumb] removed the close button on the filterbar
- Date: Sat, 2 Jul 2011 12:44:40 +0000 (UTC)
commit 0feddad4c765a94cf94a55c5995962070d648539
Author: Paolo Bacchilega <paobac src gnome org>
Date: Sat Jul 2 14:38:12 2011 +0200
removed the close button on the filterbar
it's better to use the command view->filterbar, this way the user knowns how
to display the filterbar again.
gthumb/gth-filterbar.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gthumb/gth-filterbar.c b/gthumb/gth-filterbar.c
index f437cad..2abfecc 100644
--- a/gthumb/gth-filterbar.c
+++ b/gthumb/gth-filterbar.c
@@ -400,7 +400,7 @@ gth_filterbar_construct (GthFilterbar *filterbar,
button = gtk_button_new ();
image = gtk_image_new_from_stock (GTK_STOCK_CLOSE, GTK_ICON_SIZE_MENU);
gtk_container_add (GTK_CONTAINER (button), image);
- gtk_widget_show_all (button);
+ gtk_widget_hide (button);
gtk_button_set_relief (GTK_BUTTON (button), GTK_RELIEF_NONE);
gtk_widget_set_tooltip_text (button, _("Hide the filterbar"));
g_signal_connect (G_OBJECT (button),
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]