Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 0.8, 0.8.1, and 0.8.2

taskbarui: use tabs

Changeset 0a4464881380

Parent 6a39cc67ef1c

by Adrian Buehlmann

Changes to one file · Browse files at 0a4464881380 Showing diff from parent 6a39cc67ef1c Diff from another changeset...

 
34
35
36
37
 
 
 
 
 
 
 
 
 
 
 
 
 
38
39
 
40
41
42
 
46
47
48
49
 
50
51
 
52
53
54
 
78
79
80
81
 
82
83
84
85
86
 
112
113
114
 
 
 
 
 
 
 
 
115
116
117
 
34
35
36
 
37
38
39
40
41
42
43
44
45
46
47
48
49
50
 
51
52
53
54
 
58
59
60
 
61
62
 
63
64
65
66
 
90
91
92
 
93
94
 
95
96
97
 
123
124
125
126
127
128
129
130
131
132
133
134
135
136
@@ -34,9 +34,21 @@
  vbox = gtk.VBox()   self.add(vbox)   - ovframe = gtk.Frame(_('Overlay configuration')) + # Create a new notebook, place the position of the tabs + self.notebook = notebook = gtk.Notebook() + notebook.set_tab_pos(gtk.POS_TOP) + vbox.pack_start(notebook, True, True) + notebook.show() + self.show_tabs = True + self.show_border = True + + settingsframe = self.add_page(notebook, _('Options')) + settingsvbox = gtk.VBox() + settingsframe.add(settingsvbox) + + ovframe = gtk.Frame(_('Overlays'))   ovframe.set_border_width(2) - vbox.pack_start(ovframe, False, False, 2) + settingsvbox.pack_start(ovframe, False, False, 2)   ovcvbox = gtk.VBox()   ovframe.add(ovcvbox)   hbox = gtk.HBox() @@ -46,9 +58,9 @@
  self.lclonly = gtk.CheckButton(_('Local disks only'))   hbox.pack_start(self.lclonly, False, False, 2)   - cmframe = gtk.Frame(_('Context menu configuration')) + cmframe = gtk.Frame(_('Context Menu'))   cmframe.set_border_width(2) - vbox.pack_start(cmframe, False, False, 2) + settingsvbox.pack_start(cmframe, False, False, 2)   cmcvbox = gtk.VBox()   cmframe.add(cmcvbox)   @@ -78,9 +90,8 @@
  self.lclonly.connect('toggled', lambda x: apply.set_sensitive(True))   self.load_shell_configs()   - frame = gtk.Frame(_('Event Log')) + frame = self.add_page(notebook, _('Event Log'))   frame.set_border_width(2) - vbox.pack_start(frame, True, True, 2)     scrolledwindow = gtk.ScrolledWindow()   scrolledwindow.set_shadow_type(gtk.SHADOW_ETCHED_IN) @@ -112,6 +123,14 @@
  gtk.ACCEL_VISIBLE)   hbbox.add(close)   + def add_page(self, notebook, tab): + frame = gtk.Frame() + frame.set_border_width(5) + frame.show() + label = gtk.Label(tab) + notebook.append_page(frame, label) + return frame +   def about(self, button):   from hggtk import about   dlg = about.AboutDialog()