Commit c8e94ac6 authored by Avi Wadhwa's avatar Avi Wadhwa
Browse files

more concise method of initializing Handy objects

parent 44ef918d
No preview for this file type
......@@ -38,3 +38,6 @@
0 927 0 meson-install 9bd7faa9472bf40f
0 22 1549177365 src/organizer.gresource 78c4809cb7171ed0
0 1012 0 meson-install 9bd7faa9472bf40f
0 15 1549179018 src/organizer.gresource 78c4809cb7171ed0
0 847 0 meson-install 9bd7faa9472bf40f
0 847 0 meson-install 9bd7faa9472bf40f
......@@ -31,9 +31,7 @@ folders = [
os.path.expanduser('~'),
]
# to initiate the custom libhandy widgets
tmp = Handy.Column()
tmp = Handy.Leaflet()
tmp = None
Handy.init()
@GtkTemplate("/org/gnome/Organizer/window.ui")
class OrganizerWindow(Gtk.ApplicationWindow):
......@@ -57,7 +55,7 @@ class OrganizerWindow(Gtk.ApplicationWindow):
#TODO map this to Alt+left keyboard shortcut
# hide the back button and go to start screen
#TODO if child visible is File Sorting, then go back to page, otherwise start screen
self.go_back.hide()
self.gtk_stack.set_visible_child(self.start_screen)
......@@ -137,5 +135,6 @@ class OrganizerWindow(Gtk.ApplicationWindow):
label_name = label_name + ' \n ' + entry.name
self.gtk_stack.set_visible_child(self.stack_2)
# TODO change Visible Child of HdyLeaflet when StackSwitcher clicked
# TODO fix label looks
# self.file_list_label.set_text(label_name)
......@@ -507,7 +507,7 @@
<property name="child_transition_type">slide</property>
<child>
<object class="GtkStackSidebar" id="sidebar">
<property name="width_request">270</property>
<property name="width_request">200</property>
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="stack">file_sorting</property>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment