Exemple #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()
Exemple #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
Exemple #3
0
 def show_about(self, *args):
     """Hides the main window and creates an instance of the About
     Dialog.
     """
     self.hide()
     AboutDialog()
Exemple #4
0
 def on_show_about(self, *args):
     self.notebook.guake.hide()
     AboutDialog()
Exemple #5
0
 def on_show_about(self, user_data):
     self.guake.hide()
     AboutDialog()
Exemple #6
0
def dialog(mocker, monkeypatch):
    mocker.patch("guake.simplegladeapp.Gtk.Widget.show_all")
    monkeypatch.setenv("LANGUAGE", "en_US.UTF-8")
    yield AboutDialog()
Exemple #7
0
def dialog(mocker):
    mocker.patch('guake.simplegladeapp.Gtk.Widget.show_all')
    ad = AboutDialog()
    return ad