[file-roller] window: Make the navigation buttons linked and separate the home button
- From: Paolo Bacchilega <paobac src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [file-roller] window: Make the navigation buttons linked and separate the home button
- Date: Tue, 26 Aug 2014 06:03:28 +0000 (UTC)
commit f9b725083763dbbde2879d12993e105d453fa772
Author: Yosef Or Boczko <yoseforb src gnome org>
Date: Mon Aug 25 20:42:29 2014 +0300
window: Make the navigation buttons linked and separate the home button
Also, remove the 12px at the end of the navigation buttons.
https://bugzilla.gnome.org/show_bug.cgi?id=735398
src/fr-window.c | 10 ++++++----
1 files changed, 6 insertions(+), 4 deletions(-)
---
diff --git a/src/fr-window.c b/src/fr-window.c
index 45fb203..812e0c5 100644
--- a/src/fr-window.c
+++ b/src/fr-window.c
@@ -5656,14 +5656,16 @@ fr_window_construct (FrWindow *window)
FALSE,
FALSE,
0);
- gtk_box_pack_start (GTK_BOX (navigation_commands),
+ gtk_widget_show_all (navigation_commands);
+ gtk_style_context_add_class (gtk_widget_get_style_context (navigation_commands), "raised");
+ gtk_style_context_add_class (gtk_widget_get_style_context (navigation_commands), "linked");
+ gtk_box_pack_start (GTK_BOX (location_bar_content), navigation_commands, FALSE, FALSE, 0);
+
+ gtk_box_pack_start (GTK_BOX (location_bar_content),
_gtk_header_bar_create_image_button ("user-home-symbolic", _("Go to the home
location"), "win.go-home"),
FALSE,
FALSE,
0);
- gtk_widget_show_all (navigation_commands);
- gtk_widget_set_margin_end (navigation_commands, 12);
- gtk_box_pack_start (GTK_BOX (location_bar_content), navigation_commands, FALSE, FALSE, 5);
/* current location */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]