~hodgestar/software-properties/configurable-key-server

« back to all changes in this revision

Viewing changes to softwareproperties/gtk/DialogAddSourcesList.py

  • Committer: Martin Pitt
  • Date: 2011-03-22 15:58:22 UTC
  • Revision ID: martin.pitt@canonical.com-20110322155822-8i2zr1x70qmzuer4
softwareproperties/gtk/DialogAddSourcesList.py: Fix WMFunction Gdk
constant. (LP: #736393)

Show diffs side-by-side

added added

removed removed

Lines of Context:
34
34
            self.dialog.set_transient_for(parent)
35
35
        else:
36
36
            self.dialog.set_title(_("Add Software Channels"))
37
 
        self.dialog.get_window().set_functions(Gdk.FUNC_MOVE)
 
37
        self.dialog.get_window().set_functions(Gdk.WMFunction.MOVE)
38
38
 
39
39
        # Setup the treeview
40
40
        self.store = Gtk.ListStore(gobject.TYPE_STRING)