Commit 3f9d6786 authored by Avi Wadhwa's avatar Avi Wadhwa
Browse files

remove keyboard shortcuts reference, fancy feature for later

parent 4c0a6313
......@@ -92,3 +92,6 @@
0 1458 0 meson-install 9bd7faa9472bf40f
0 19 1548604657 src/organizer.gresource 78c4809cb7171ed0
0 1746 0 meson-install 9bd7faa9472bf40f
0 2133 0 meson-install 9bd7faa9472bf40f
0 1569 0 meson-install 9bd7faa9472bf40f
0 1545 0 meson-install 9bd7faa9472bf40f
......@@ -9,11 +9,3 @@
/app/share/organizer/organizer/gi_composites.py
/app/share/organizer/organizer/main.py
/app/share/organizer/organizer/window.py
/app/share/organizer/organizer
/app/bin
/app/share/glib-2.0/schemas
/app/share/glib-2.0
/app/share/organizer
/app/share/appdata
/app/share/applications
/app/share
......@@ -19,12 +19,6 @@ from gi.repository import Gtk
from .gi_composites import GtkTemplate
import sys
def error_dialogue(parent_window):
error = Gtk.MessageDialog(parent_window, 0, Gtk.MessageType.INFO, Gtk.ButtonsType.OK, "work in progress boi")
error.set_modal(True)
error.run()
error.destroy()
@GtkTemplate(ui='/org/gnome/Organizer/window.ui')
class OrganizerWindow(Gtk.ApplicationWindow):
__gtype_name__ = 'OrganizerWindow'
......@@ -47,7 +41,8 @@ class OrganizerWindow(Gtk.ApplicationWindow):
dialog.run()
dialog.destroy()
def on_keyboard_shortcuts_button_clicked(self, button):
error_dialogue(self)
def row(self, listbox, listboxrow):
error_dialogue(self)
error = Gtk.MessageDialog(self, 0, Gtk.MessageType.INFO, Gtk.ButtonsType.OK, "work in progress boi")
error.set_modal(True)
error.run()
error.destroy()
<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated with glade 3.22.1 -->
<!-- Generated with glade 3.22.0 -->
<interface>
<requires lib="gtk+" version="3.20"/>
<object class="GtkPopover" id="popover">
......@@ -13,20 +13,6 @@
<property name="margin_top">10</property>
<property name="margin_bottom">10</property>
<property name="orientation">vertical</property>
<child>
<object class="GtkModelButton" id="keyboard_shortcuts_button">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
<property name="text" translatable="yes">Keyboard Shortcuts</property>
<signal name="clicked" handler="on_keyboard_shortcuts_button_clicked" swapped="no"/>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">0</property>
</packing>
</child>
<child>
<object class="GtkModelButton" id="about_button">
<property name="visible">True</property>
......@@ -49,32 +35,6 @@
<property name="border_width">10</property>
<property name="default_width">600</property>
<property name="default_height">300</property>
<child type="titlebar">
<object class="GtkHeaderBar" id="header_bar">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="title">Organizer</property>
<property name="show_close_button">True</property>
<child>
<object class="GtkMenuButton">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
<property name="popover">popover</property>
<child>
<object class="GtkImage">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="icon_name">open-menu-symbolic</property>
</object>
</child>
</object>
<packing>
<property name="pack_type">end</property>
</packing>
</child>
</object>
</child>
<child>
<object class="GtkBox" id="start_screen">
<property name="visible">True</property>
......@@ -647,5 +607,31 @@
</child>
</object>
</child>
<child type="titlebar">
<object class="GtkHeaderBar" id="header_bar">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="title">Organizer</property>
<property name="show_close_button">True</property>
<child>
<object class="GtkMenuButton">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
<property name="popover">popover</property>
<child>
<object class="GtkImage">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="icon_name">open-menu-symbolic</property>
</object>
</child>
</object>
<packing>
<property name="pack_type">end</property>
</packing>
</child>
</object>
</child>
</template>
</interface>
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