Philipp Hörist pushed to branch master at gajim / gajim
Commits:
5d795b4c by Daniel Brötzmann at 2019-04-26T15:11:59Z
MessageWindow: Open new tab relative to the current one
- - - - -
1 changed file:
- gajim/message_window.py
Changes:
=====================================
gajim/message_window.py
=====================================
@@ -317,7 +317,8 @@ class MessageWindow:
id_ = tab_label_box.connect('button-press-event',
self.on_tab_eventbox_button_press_event, control.widget)
control.handlers[id_] = tab_label_box
- self.notebook.append_page(control.widget, tab_label_box)
+ position = self.notebook.get_current_page() + 1
+ self.notebook.insert_page(control.widget, tab_label_box, position)
self.notebook.set_tab_reorderable(control.widget, True)
View it on GitLab: https://dev.gajim.org/gajim/gajim/commit/5d795b4c1e631d45fa7bf59455b40e9d47…
--
View it on GitLab: https://dev.gajim.org/gajim/gajim/commit/5d795b4c1e631d45fa7bf59455b40e9d47…
You're receiving this email because of your account on dev.gajim.org.
Philipp Hörist pushed to branch master at gajim / gajim
Commits:
87bbf473 by Daniel Brötzmann at 2019-04-26T14:45:16Z
MessageWindow: When grouped by type, show contact's name if only one conversation
When chat windows are grouped by type, the window title is either Chats or Group Chats.
If there is only one conversation of either type, the window's title now shows the
contact's or group chat's name.
- - - - -
1 changed file:
- gajim/message_window.py
Changes:
=====================================
gajim/message_window.py
=====================================
@@ -520,8 +520,12 @@ class MessageWindow:
# Show the plural form since number of tabs > 1
if self.type_ == 'chat':
label = Q_('?Noun:Chats')
+ if self.get_num_controls() == 1:
+ label = name
elif self.type_ == 'gc':
- label = _('Groupchats')
+ label = _('Group Chats')
+ if self.get_num_controls() == 1:
+ label = name
else:
label = _('Private Chats')
elif window_mode == MessageWindowMgr.ONE_MSG_WINDOW_ALWAYS_WITH_ROSTER:
View it on GitLab: https://dev.gajim.org/gajim/gajim/commit/87bbf4738a3621bb70c212dc5dbcb580b9…
--
View it on GitLab: https://dev.gajim.org/gajim/gajim/commit/87bbf4738a3621bb70c212dc5dbcb580b9…
You're receiving this email because of your account on dev.gajim.org.
Philipp Hörist pushed to branch master at gajim / gajim
Commits:
04717274 by Daniel Brötzmann at 2019-04-24T14:07:24Z
GroupchatControl: Switch encrypted symbol to symbolic
- - - - -
1 changed file:
- gajim/groupchat_control.py
Changes:
=====================================
gajim/groupchat_control.py
=====================================
@@ -1044,11 +1044,11 @@ class GroupchatControl(ChatControlBase):
if authenticated:
authenticated_string = _('and authenticated')
self.lock_image.set_from_icon_name(
- 'security-high', Gtk.IconSize.MENU)
+ 'security-high-symbolic', Gtk.IconSize.MENU)
else:
authenticated_string = _('and NOT authenticated')
self.lock_image.set_from_icon_name(
- 'security-low', Gtk.IconSize.MENU)
+ 'security-low-symbolic', Gtk.IconSize.MENU)
tooltip = _('%(type)s encryption is active %(authenticated)s.') % {
'type': enc_type, 'authenticated': authenticated_string}
View it on GitLab: https://dev.gajim.org/gajim/gajim/commit/04717274b315cc796b4616b59b4bc25e94…
--
View it on GitLab: https://dev.gajim.org/gajim/gajim/commit/04717274b315cc796b4616b59b4bc25e94…
You're receiving this email because of your account on dev.gajim.org.