Browse Source

Update buttons layout

debug-epoch
Julien Blanchard 10 months ago
parent
commit
f389137167
1 changed files with 23 additions and 20 deletions
  1. 23
    20
      src/castor.glade

+ 23
- 20
src/castor.glade View File

@@ -57,8 +57,8 @@
57 57
                 <property name="margin_bottom">15</property>
58 58
                 <property name="image">image3</property>
59 59
                 <property name="always_show_image">True</property>
60
-                <accelerator key="Back" signal="clicked"/>
61 60
                 <accelerator key="Left" signal="clicked" modifiers="GDK_MOD1_MASK"/>
61
+                <accelerator key="Back" signal="clicked"/>
62 62
               </object>
63 63
               <packing>
64 64
                 <property name="expand">False</property>
@@ -89,57 +89,60 @@
89 89
               </packing>
90 90
             </child>
91 91
             <child>
92
-              <object class="GtkButton" id="add_bookmark_button">
93
-                <property name="name">add_bookmark_button</property>
92
+              <object class="GtkEntry" id="url_bar">
93
+                <property name="name">url_bar</property>
94 94
                 <property name="visible">True</property>
95 95
                 <property name="can_focus">True</property>
96
-                <property name="receives_default">True</property>
97
-                <property name="tooltip_text" translatable="yes">Add to Bookmarks</property>
96
+                <property name="margin_left">10</property>
97
+                <property name="margin_right">10</property>
98 98
                 <property name="margin_top">15</property>
99 99
                 <property name="margin_bottom">15</property>
100
-                <property name="image">image1</property>
101
-                <property name="always_show_image">True</property>
102
-                <accelerator key="d" signal="clicked" modifiers="GDK_CONTROL_MASK"/>
100
+                <property name="placeholder_text" translatable="yes">Enter a URL...</property>
101
+                <property name="input_purpose">url</property>
102
+                <accelerator key="l" signal="grab-focus" modifiers="GDK_CONTROL_MASK"/>
103 103
               </object>
104 104
               <packing>
105
-                <property name="expand">False</property>
105
+                <property name="expand">True</property>
106 106
                 <property name="fill">True</property>
107 107
                 <property name="padding">1</property>
108 108
                 <property name="position">2</property>
109 109
               </packing>
110 110
             </child>
111 111
             <child>
112
-              <object class="GtkButton" id="show_bookmarks_button">
113
-                <property name="name">show_bookmarks_button</property>
112
+              <object class="GtkButton" id="add_bookmark_button">
113
+                <property name="name">add_bookmark_button</property>
114 114
                 <property name="visible">True</property>
115 115
                 <property name="can_focus">True</property>
116 116
                 <property name="receives_default">True</property>
117
-                <property name="tooltip_text" translatable="yes">Show Bookmarks</property>
117
+                <property name="tooltip_text" translatable="yes">Add to Bookmarks</property>
118 118
                 <property name="margin_top">15</property>
119 119
                 <property name="margin_bottom">15</property>
120
-                <property name="image">image2</property>
121
-                <accelerator key="o" signal="clicked" modifiers="GDK_SHIFT_MASK | GDK_CONTROL_MASK"/>
120
+                <property name="image">image1</property>
121
+                <property name="always_show_image">True</property>
122
+                <accelerator key="d" signal="clicked" modifiers="GDK_CONTROL_MASK"/>
122 123
               </object>
123 124
               <packing>
124 125
                 <property name="expand">False</property>
125 126
                 <property name="fill">True</property>
127
+                <property name="padding">1</property>
126 128
                 <property name="position">3</property>
127 129
               </packing>
128 130
             </child>
129 131
             <child>
130
-              <object class="GtkEntry" id="url_bar">
131
-                <property name="name">url_bar</property>
132
+              <object class="GtkButton" id="show_bookmarks_button">
133
+                <property name="name">show_bookmarks_button</property>
132 134
                 <property name="visible">True</property>
133 135
                 <property name="can_focus">True</property>
136
+                <property name="receives_default">True</property>
137
+                <property name="tooltip_text" translatable="yes">Show Bookmarks</property>
134 138
                 <property name="margin_right">6</property>
135 139
                 <property name="margin_top">15</property>
136 140
                 <property name="margin_bottom">15</property>
137
-                <property name="placeholder_text" translatable="yes">Enter a URL...</property>
138
-                <property name="input_purpose">url</property>
139
-                <accelerator key="l" signal="grab-focus" modifiers="GDK_CONTROL_MASK"/>
141
+                <property name="image">image2</property>
142
+                <accelerator key="o" signal="clicked" modifiers="GDK_SHIFT_MASK | GDK_CONTROL_MASK"/>
140 143
               </object>
141 144
               <packing>
142
-                <property name="expand">True</property>
145
+                <property name="expand">False</property>
143 146
                 <property name="fill">True</property>
144 147
                 <property name="padding">1</property>
145 148
                 <property name="position">4</property>

Loading…
Cancel
Save