summaryrefslogtreecommitdiff
path: root/src/utils.py
diff options
context:
space:
mode:
authorSebastian Heinlein <sebastian.heinlein@web.de>2006-04-18 22:23:08 +0200
committerSebastian Heinlein <sebastian.heinlein@web.de>2006-04-18 22:23:08 +0200
commit02352fee746a3e17be326d7a68b1b8b4970f6203 (patch)
treeb4be9ba12d69fc9f78fd60a2f67080687cab2d54 /src/utils.py
parent09a3302637368aa2dda1ea8cef86dd32d7423c26 (diff)
downloadpython-apt-02352fee746a3e17be326d7a68b1b8b4970f6203.tar.gz
* rename gnome-software-properties to software-properties (there is no
dependency on gnome anymore) * remove deprecated code
Diffstat (limited to 'src/utils.py')
-rw-r--r--src/utils.py12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/utils.py b/src/utils.py
deleted file mode 100644
index 3231ba98..00000000
--- a/src/utils.py
+++ /dev/null
@@ -1,12 +0,0 @@
-import gobject
-import gtk
-import gtk.glade
-
-def error(parent, primary, secondary):
- p = "<span weight=\"bold\" size=\"larger\">%s</span>" % primary
- dialog = gtk.MessageDialog(parent,gtk.DIALOG_MODAL,
- gtk.MESSAGE_ERROR,gtk.BUTTONS_OK,"")
- dialog.set_markup(p);
- dialog.format_secondary_text(secondary);
- dialog.run()
- dialog.hide()