diff options
Diffstat (limited to 'SoftwareProperties/utils.py')
| -rw-r--r-- | SoftwareProperties/utils.py | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/SoftwareProperties/utils.py b/SoftwareProperties/utils.py deleted file mode 100644 index cf9a3343..00000000 --- a/SoftwareProperties/utils.py +++ /dev/null @@ -1,10 +0,0 @@ -import gtk - -def dialog_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() |
