[gthumb] headerbar: added a button to go to the home folder
- From: Paolo Bacchilega <paobac src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gthumb] headerbar: added a button to go to the home folder
- Date: Mon, 31 Jul 2017 06:07:12 +0000 (UTC)
commit 275b57a8d80a719776e524e4a19055323a0fa759
Author: Paolo Bacchilega <paobac src gnome org>
Date: Tue Jul 4 13:36:40 2017 +0200
headerbar: added a button to go to the home folder
extensions/file_manager/callbacks.c | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
---
diff --git a/extensions/file_manager/callbacks.c b/extensions/file_manager/callbacks.c
index f3e257f..88d0c22 100644
--- a/extensions/file_manager/callbacks.c
+++ b/extensions/file_manager/callbacks.c
@@ -527,6 +527,13 @@ fm__gth_browser_construct_cb (GthBrowser *browser)
accelerators,
G_N_ELEMENTS (accelerators));
+ gth_browser_add_header_bar_button (browser,
+ GTH_BROWSER_HEADER_SECTION_BROWSER_LOCATIONS,
+ "user-home-symbolic",
+ _("Home Folder"),
+ "win.go-home",
+ NULL);
+
data->open_with_menu = g_menu_new ();
open_actions = gth_menu_manager_get_menu (gth_browser_get_menu_manager (browser,
GTH_BROWSER_MENU_MANAGER_FILE_LIST_OPEN_ACTIONS));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]