Display a tooltip warning if a window saves data immediately
This occurs in the following windows: - Preferences - Clipboard - Organize tags - Filter editors Fixes #12117
This commit is contained in:
parent
1456d10925
commit
de50bcf7e6
@ -1374,6 +1374,7 @@ class ClipboardWindow(ManagedWindow):
|
||||
self.top = Glade()
|
||||
self.set_window(self.top.toplevel, None, None, msg=_("Clipboard"))
|
||||
self.setup_configs('interface.clipboard', 500, 300)
|
||||
self.get_window().set_tooltip_text(_("Any changes are instantly saved"))
|
||||
|
||||
self.clear_all_btn = self.top.get_object("btn_clear_all")
|
||||
self.clear_btn = self.top.get_object("btn_clear")
|
||||
|
@ -193,6 +193,7 @@ class ConfigureDialog(ManagedWindow):
|
||||
self.window.vbox.pack_start(self.panel, True, True, 0)
|
||||
self.__on_close = on_close
|
||||
self.window.connect('response', self.done)
|
||||
self.window.set_tooltip_text(_("Any changes are instantly saved"))
|
||||
|
||||
self.__setup_pages(configure_page_funcs)
|
||||
|
||||
|
@ -1143,6 +1143,7 @@ class FilterEditor(ManagedWindow):
|
||||
self.draw_filters()
|
||||
self._set_size()
|
||||
self.filter_list.restore_column_size()
|
||||
self.get_window().set_tooltip_text(_("Any changes are instantly saved"))
|
||||
self.show()
|
||||
|
||||
def build_menu_names(self, obj):
|
||||
|
@ -384,6 +384,7 @@ class OrganizeTagsDialog(ManagedWindow):
|
||||
self.top = self._create_dialog()
|
||||
self.set_window(self.top, None, _('Organize Tags'))
|
||||
self.setup_configs('interface.organizetagsdialog', 400, 350)
|
||||
self.get_window().set_tooltip_text(_("Any changes are instantly saved"))
|
||||
self.show()
|
||||
self.run()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user