fix a few minor GTK3 things
This commit is contained in:
parent
1b94427cc2
commit
1e01ca81c6
|
@ -192,6 +192,7 @@
|
|||
<object class="GtkGrid" id="grid1">
|
||||
<property name="visible">True</property>
|
||||
<property name="can_focus">False</property>
|
||||
<property name="border_width">6</property>
|
||||
<property name="row_spacing">6</property>
|
||||
<property name="column_spacing">6</property>
|
||||
<child>
|
||||
|
@ -586,9 +587,10 @@
|
|||
<property name="can_focus">True</property>
|
||||
<property name="receives_default">False</property>
|
||||
<property name="use_underline">True</property>
|
||||
<property name="xalign">0.5</property>
|
||||
<property name="active">True</property>
|
||||
<property name="draw_indicator">True</property>
|
||||
<signal name="toggled" handler="on_sync_logs_with_server_checkbutton_toggled"/>
|
||||
<signal name="toggled" handler="on_sync_logs_with_server_checkbutton_toggled" swapped="no"/>
|
||||
</object>
|
||||
<packing>
|
||||
<property name="expand">False</property>
|
||||
|
|
|
@ -71,7 +71,6 @@
|
|||
<object class="GtkBox" id="vbox112">
|
||||
<property name="visible">True</property>
|
||||
<property name="can_focus">False</property>
|
||||
<property name="margin_left">12</property>
|
||||
<property name="border_width">6</property>
|
||||
<property name="orientation">vertical</property>
|
||||
<property name="spacing">6</property>
|
||||
|
|
|
@ -459,7 +459,7 @@ if pid_alive():
|
|||
pixs.append(pix)
|
||||
if pixs:
|
||||
# set the icon to all windows
|
||||
Gtk.Window.set_default_icon_list(*pixs)
|
||||
Gtk.Window.set_default_icon_list(pixs)
|
||||
pritext = _('Gajim is already running')
|
||||
sectext = _('Another instance of Gajim seems to be running\nRun anyway?')
|
||||
dialog = dialogs.YesNoDialog(pritext, sectext)
|
||||
|
|
|
@ -139,7 +139,7 @@ def popup_emoticons_under_button(menu, button, parent_win):
|
|||
x = window_x + button_x
|
||||
y = window_y + button_y
|
||||
|
||||
menu_height = menu.size_request().height
|
||||
menu_height = menu.get_preferred_size()[0].height
|
||||
|
||||
## should we pop down or up?
|
||||
if (y + alloc.height + menu_height < Gdk.Screen.height()):
|
||||
|
|
|
@ -121,7 +121,7 @@ class HistoryManager:
|
|||
pixs.append(pix)
|
||||
if pixs:
|
||||
# set the icon to all windows
|
||||
Gtk.Window.set_default_icon_list(*pixs)
|
||||
Gtk.Window.set_default_icon_list(pixs)
|
||||
|
||||
if not os.path.exists(LOG_DB_PATH):
|
||||
dialogs.ErrorDialog(_('Cannot find history logs database'),
|
||||
|
|
Loading…
Reference in New Issue