[gthumb/ext] close the filterbar when the close button is clicked
- From: Paolo Bacchilega <paobac src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gthumb/ext] close the filterbar when the close button is clicked
- Date: Mon, 16 Nov 2009 21:39:15 +0000 (UTC)
commit 89d0aceeca4953f45682445484adb75e555a26a0
Author: Paolo Bacchilega <paobac src gnome org>
Date: Mon Nov 16 22:34:59 2009 +0100
close the filterbar when the close button is clicked
gthumb/gth-browser.c | 12 ++++++++++++
1 files changed, 12 insertions(+), 0 deletions(-)
---
diff --git a/gthumb/gth-browser.c b/gthumb/gth-browser.c
index 4f4c475..9966945 100644
--- a/gthumb/gth-browser.c
+++ b/gthumb/gth-browser.c
@@ -2323,6 +2323,14 @@ filterbar_personalize_cb (GthFilterbar *filterbar,
static void
+filterbar_close_button_clicked_cb (GthFilterbar *filterbar,
+ GthBrowser *browser)
+{
+ gth_browser_show_filterbar (browser, FALSE);
+}
+
+
+static void
file_attributes_ready_cb (GthFileSource *file_source,
GList *files,
GError *error,
@@ -3407,6 +3415,10 @@ _gth_browser_construct (GthBrowser *browser)
"personalize",
G_CALLBACK (filterbar_personalize_cb),
browser);
+ g_signal_connect (browser->priv->filterbar,
+ "close_button_clicked",
+ G_CALLBACK (filterbar_close_button_clicked_cb),
+ browser);
/* the image preloader */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]