do not maximize history manager (let the user do it if he wants) and also make sure user was warned that running Gajim and touching logs db crazily can end up in useless db or whatever chaotic problems
This commit is contained in:
parent
2eb1759a7f
commit
c7dc01e366
|
@ -77,7 +77,8 @@
|
||||||
|
|
||||||
You can select logs from the left and/or search database from below.
|
You can select logs from the left and/or search database from below.
|
||||||
|
|
||||||
<b>NOTE:</b> If you plan to do massive deletions, please make sure Gajim is not running.</property>
|
<span background="lightyellow"><b>WARNING:</b> If you plan to do massive deletions, please make sure Gajim is not running.
|
||||||
|
Generally avoid deletions with contacts you currently chat with.</span></property>
|
||||||
<property name="use_underline">False</property>
|
<property name="use_underline">False</property>
|
||||||
<property name="use_markup">True</property>
|
<property name="use_markup">True</property>
|
||||||
<property name="justify">GTK_JUSTIFY_LEFT</property>
|
<property name="justify">GTK_JUSTIFY_LEFT</property>
|
||||||
|
|
|
@ -86,7 +86,6 @@ class HistoryManager:
|
||||||
|
|
||||||
self.search_entry.grab_focus()
|
self.search_entry.grab_focus()
|
||||||
|
|
||||||
self.window.maximize()
|
|
||||||
self.window.show_all()
|
self.window.show_all()
|
||||||
|
|
||||||
xml.signal_autoconnect(self)
|
xml.signal_autoconnect(self)
|
||||||
|
@ -159,7 +158,8 @@ class HistoryManager:
|
||||||
def on_history_manager_window_delete_event(self, widget, event):
|
def on_history_manager_window_delete_event(self, widget, event):
|
||||||
if self.AT_LEAST_ONE_DELETION_DONE:
|
if self.AT_LEAST_ONE_DELETION_DONE:
|
||||||
dialog = dialogs.YesNoDialog(
|
dialog = dialogs.YesNoDialog(
|
||||||
_('Do you want to clean up the database?'),
|
_('Do you want to clean up the database? '
|
||||||
|
'(STRONGLY NOT RECOMMENDED IF GAJIM IS RUNNING)'),
|
||||||
_('Normally allocated database size will not be freed, '
|
_('Normally allocated database size will not be freed, '
|
||||||
'it will just become reusable. If you really want to reduce '
|
'it will just become reusable. If you really want to reduce '
|
||||||
'database filesize, click YES, else click NO.'
|
'database filesize, click YES, else click NO.'
|
||||||
|
|
Loading…
Reference in New Issue