Merge lp:~stefan-schwarzburg/qreator/fix-bug-1031659 into lp:~dpm/qreator/trunk

Proposed by Schwarzburg
Status: Merged
Merged at revision: 119
Proposed branch: lp:~stefan-schwarzburg/qreator/fix-bug-1031659
Merge into: lp:~dpm/qreator/trunk
Diff against target: 46 lines (+5/-3)
1 file modified
data/ui/QreatorWindow.ui (+5/-3)
To merge this branch: bzr merge lp:~stefan-schwarzburg/qreator/fix-bug-1031659
Reviewer Review Type Date Requested Status
David Planella Approve
Review via email: mp+118187@code.launchpad.net

Description of the change

Changed toggle buttons to radio buttons of a single group. This way the toggled state indicates on which page you are on.

To post a comment you must log in.
117. By Schwarzburg

merge with trunk

Revision history for this message
David Planella (dpm) wrote :

I love the simplicity of the change, thanks. Merged

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'data/ui/QreatorWindow.ui'
2--- data/ui/QreatorWindow.ui 2012-06-05 17:37:50 +0000
3+++ data/ui/QreatorWindow.ui 2012-08-05 14:31:19 +0000
4@@ -120,7 +120,7 @@
5 <property name="hexpand">True</property>
6 <property name="icon_size">5</property>
7 <child>
8- <object class="GtkToggleToolButton" id="toolbuttonNew">
9+ <object class="GtkRadioToolButton" id="toolbuttonNew">
10 <property name="use_action_appearance">False</property>
11 <property name="visible">True</property>
12 <property name="can_focus">False</property>
13@@ -140,7 +140,7 @@
14 </packing>
15 </child>
16 <child>
17- <object class="GtkToggleToolButton" id="toolbuttonHistory">
18+ <object class="GtkRadioToolButton" id="toolbuttonHistory">
19 <property name="use_action_appearance">False</property>
20 <property name="can_focus">False</property>
21 <property name="tooltip_text" translatable="yes">Browse QR codes history</property>
22@@ -148,6 +148,7 @@
23 <property name="label" translatable="yes">History</property>
24 <property name="use_underline">True</property>
25 <property name="icon_name">document-open-recent</property>
26+ <property name="group">toolbuttonNew</property>
27 </object>
28 <packing>
29 <property name="expand">False</property>
30@@ -155,7 +156,7 @@
31 </packing>
32 </child>
33 <child>
34- <object class="GtkToggleToolButton" id="toolbuttonAbout">
35+ <object class="GtkRadioToolButton" id="toolbuttonAbout">
36 <property name="use_action_appearance">False</property>
37 <property name="visible">True</property>
38 <property name="can_focus">False</property>
39@@ -164,6 +165,7 @@
40 <property name="label" translatable="yes">About</property>
41 <property name="use_underline">True</property>
42 <property name="icon_widget">image1</property>
43+ <property name="group">toolbuttonNew</property>
44 </object>
45 <packing>
46 <property name="expand">False</property>

Subscribers

People subscribed via source and target branches

to all changes: