Example #1
0
 def show_about(self, *args):
     # TODO DBUS ONLY
     # TODO TRAY ONLY
     """Hides the main window and creates an instance of the About
     Dialog.
     """
     self.hide()
     AboutDialog()
Example #2
0
def dialog(mocker):
    mocker.patch('guake.simplegladeapp.Gtk.Widget.show_all')
    try:
        old_os_environ = os.environ
        os.environ["LANGUAGE"] = "en_US.UTF-8"
        ad = AboutDialog()
        yield ad
    finally:
        os.environ = old_os_environ
Example #3
0
 def show_about(self, *args):
     """Hides the main window and creates an instance of the About
     Dialog.
     """
     self.hide()
     AboutDialog()
Example #4
0
 def on_show_about(self, *args):
     self.notebook.guake.hide()
     AboutDialog()
Example #5
0
 def on_show_about(self, user_data):
     self.guake.hide()
     AboutDialog()
Example #6
0
def dialog(mocker, monkeypatch):
    mocker.patch("guake.simplegladeapp.Gtk.Widget.show_all")
    monkeypatch.setenv("LANGUAGE", "en_US.UTF-8")
    yield AboutDialog()
Example #7
0
def dialog(mocker):
    mocker.patch('guake.simplegladeapp.Gtk.Widget.show_all')
    ad = AboutDialog()
    return ad