Philipp Hörist pushed to branch manage-roster at gajim / gajim
Commits:
0c662917 by Philipp Hörist at 2025-01-01T13:41:20+01:00
Fix pyright
- - - - -
2 changed files:
- gajim/gtk/builder.pyi
- gajim/gtk/menus.py
Changes:
=====================================
gajim/gtk/builder.pyi
=====================================
@@ -585,6 +585,8 @@ class ManageProxiesBuilder(Builder):
class ManageRosterBuilder(Builder):
main: Gtk.Box
+ top_box: Gtk.Box
+ search_entry: Gtk.SearchEntry
scrolled_box: Gtk.Box
scrolled: Gtk.ScrolledWindow
column_view: Gtk.ColumnView
@@ -592,7 +594,6 @@ class ManageRosterBuilder(Builder):
name_col: Gtk.ColumnViewColumn
subscription_col: Gtk.ColumnViewColumn
ask_col: Gtk.ColumnViewColumn
- scrolled_box: Gtk.Box
import_button: Gtk.MenuButton
export_button: Gtk.Button
=====================================
gajim/gtk/menus.py
=====================================
@@ -955,6 +955,8 @@ def get_manage_roster_import_menu(accounts: list[tuple[str,
str]]) -> GajimMenu:
menuitems.append((label, "win.import-from-account", account))
menu.append_submenu(_("Import from Account"),
GajimMenu.from_list(menuitems))
+ else:
+ menu.add_item(_("Import from Account"), "", None)
return menu
View it on GitLab:
https://dev.gajim.org/gajim/gajim/-/commit/0c662917f1f7a0e46b255239ca2dda086a06b0bb
--
View it on GitLab:
https://dev.gajim.org/gajim/gajim/-/commit/0c662917f1f7a0e46b255239ca2dda086a06b0bb
You're receiving this email because of your account on dev.gajim.org.
_______________________________________________
Commits mailing list -- [email protected]
To unsubscribe send an email to [email protected]