From: Uwe Hermann Date: Tue, 16 Apr 2013 18:33:19 +0000 (+0200) Subject: Cosmetics, naming. X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=fd029d021d32f8e7cb11abd99d53bec2cd1d0d3e;p=sigrok-meter.git Cosmetics, naming. --- diff --git a/sigrok-meter b/sigrok-meter index e80b634..08441ac 100755 --- a/sigrok-meter +++ b/sigrok-meter @@ -26,13 +26,13 @@ class SigrokMeter: self.builder = Gtk.Builder() self.builder.add_from_file("sigrok-meter.glade") self.builder.connect_signals(self) - self.win = self.builder.get_object("main-window") + self.win = self.builder.get_object("mainwindow") self.win.show_all() - def onDeleteWindow(self, *args): + def on_quit(self, *args): Gtk.main_quit(*args) - def on_imagemenuitemAbout_activate(self, action): + def on_about(self, action): about = self.builder.get_object("aboutdialog") about.run() about.hide() diff --git a/sigrok-meter.glade b/sigrok-meter.glade index 9f8fbb6..6b0e580 100644 --- a/sigrok-meter.glade +++ b/sigrok-meter.glade @@ -10,6 +10,7 @@ sigrok-meter 0.1.0 http://www.sigrok.org + http://www.sigrok.org GNU GPL, version 3 or later sigrok-logo-notext.png gpl-3-0 @@ -36,13 +37,13 @@ - + False sigrok-meter 320 200 sigrok-logo-notext.png - + True @@ -71,7 +72,7 @@ False True True - + @@ -97,7 +98,7 @@ False True True - +