Changeset 1543


Ignore:
Timestamp:
May 16, 2016, 3:03:57 PM (3 years ago)
Author:
kbut
Message:

modify question dialog

File:
1 edited

Legend:

Unmodified
Added
Removed
  • zero-center/trunk/fuentes/install-files/usr/share/zero-center/zero-center.py

    r1471 r1543  
    10621062                if  self.client.get_variable("","VariablesManager","MASTER_SERVER_IP"):
    10631063                        if app["ID"] in self.blacklist:
    1064                                 self.open_dialog("Warning",_("Operation not allowed on a slave server"),False)
    1065                                 return -1
     1064                                result = self.open_dialog("Warning",_("Operation not allowed on a slave server"),True)
     1065                if result == Gtk.ResponseType.CANCEL:
     1066                        return -1
     1067
    10661068                if app["ID"] in self.configured_apps:
    10671069                        ret=self.open_dialog("Warning",_("<b>%s</b> is already configured. Do you want to execute it again?")%self.get_name(app),True)
Note: See TracChangeset for help on using the changeset viewer.