[gedit] Remove the hardcoded spacing
- From: Paolo Borelli <pborelli src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gedit] Remove the hardcoded spacing
- Date: Sat, 20 Feb 2016 17:13:20 +0000 (UTC)
commit 9d666ba55d98145ea1b1d891b3b25b1c5d5b5b97
Author: Paolo Borelli <pborelli gnome org>
Date: Sat Feb 20 18:03:58 2016 +0100
Remove the hardcoded spacing
As requested by Lapo. This can now be done better in the css
gedit/gedit-menu-stack-switcher.c | 2 +-
gedit/resources/ui/gedit-window.ui | 2 --
2 files changed, 1 insertions(+), 3 deletions(-)
---
diff --git a/gedit/gedit-menu-stack-switcher.c b/gedit/gedit-menu-stack-switcher.c
index 4a2db39..abd8a8a 100644
--- a/gedit/gedit-menu-stack-switcher.c
+++ b/gedit/gedit-menu-stack-switcher.c
@@ -60,7 +60,7 @@ gedit_menu_stack_switcher_init (GeditMenuStackSwitcher *switcher)
box = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 6);
arrow = gtk_image_new_from_icon_name ("pan-down-symbolic", GTK_ICON_SIZE_BUTTON);
- gtk_box_pack_end (GTK_BOX (box), arrow, FALSE, TRUE, 6);
+ gtk_box_pack_end (GTK_BOX (box), arrow, FALSE, TRUE, 0);
gtk_widget_set_valign (arrow, GTK_ALIGN_BASELINE);
switcher->label = gtk_label_new (NULL);
diff --git a/gedit/resources/ui/gedit-window.ui b/gedit/resources/ui/gedit-window.ui
index 2ca450a..63fb081 100644
--- a/gedit/resources/ui/gedit-window.ui
+++ b/gedit/resources/ui/gedit-window.ui
@@ -40,7 +40,6 @@
<property name="can_focus">False</property>
<property name="has_focus">False</property>
<property name="is_focus">False</property>
- <property name="spacing">6</property>
<child>
<object class="GtkLabel" id="open_button_name">
<property name="label" translatable="yes">_Open</property>
@@ -379,7 +378,6 @@
<property name="can_focus">False</property>
<property name="has_focus">False</property>
<property name="is_focus">False</property>
- <property name="spacing">6</property>
<child>
<object class="GtkLabel" id="fullscreen_open_button_name">
<property name="label" translatable="yes">Open</property>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]