[gnome-clocks] Remove unused method
- From: Paolo Borelli <pborelli src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-clocks] Remove unused method
- Date: Sun, 26 Aug 2012 11:12:19 +0000 (UTC)
commit c73bba8d866023c41054411445b84840a698dfec
Author: Paolo Borelli <pborelli gnome org>
Date: Sun Aug 26 13:08:57 2012 +0200
Remove unused method
gnomeclocks/widgets.py | 4 ----
1 files changed, 0 insertions(+), 4 deletions(-)
---
diff --git a/gnomeclocks/widgets.py b/gnomeclocks/widgets.py
index c4496e3..e01aec4 100644
--- a/gnomeclocks/widgets.py
+++ b/gnomeclocks/widgets.py
@@ -64,7 +64,6 @@ class NewWorldClockDialog(Gtk.Dialog):
self.searchEntry.connect("activate", self._set_city)
self.searchEntry.connect("changed", self._set_city)
self.searchEntry.connect("icon-release", self._icon_released)
- self.location = None
self.show_all()
def get_location(self):
@@ -84,9 +83,6 @@ class NewWorldClockDialog(Gtk.Dialog):
else:
self.set_response_sensitive(1, False)
- def get_selection(self):
- return self.location
-
def _icon_released(self, icon_pos, event, data):
if self.searchEntry.get_icon_gicon(
Gtk.EntryIconPosition.SECONDARY) == self.clear_gicon:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]