Commit 512e6d2c authored by Philipp Hörist's avatar Philipp Hörist

Redesign XML Console

- Use modern GTK Widgets (HeaderBar, ActionBar, Switch)
- Add an option to filter Stream Management stanzas
- Add a generic Option Dialog that we can reuse later
parent e6f1d294
......@@ -29,3 +29,14 @@ popover#EmoticonPopover flowboxchild { padding-top: 5px; padding-bottom: 5px; }
#ServerInfoGrid > list > row { padding: 10px 20px 10px 10px; }
#ServerInfoGrid > list > label { padding:10px; color: @insensitive_fg_color; font-weight: bold; }
#ServerInfoGrid > list > row.activatable:active { box-shadow: none; }
/* Generic Options Dialog */
#OptionsDialog list > row { border-bottom: 1px solid; border-color: @theme_unfocused_bg_color; }
#OptionsDialog list > row:last-child { border-bottom: 0px}
#OptionsDialog list > row { padding: 10px; }
#OptionsDialog list > row.activatable:active { box-shadow: none; }
/* Generic Popover Menu with Buttons */
.PopoverButtonListbox { margin-top: 10px; margin-bottom: 10px; }
.PopoverButtonListbox > row { padding: 10px 20px 10px 20px; }
.PopoverButtonListbox row.activatable:active { box-shadow: none; background-color: @theme_selected_bg_color }
......@@ -175,7 +175,7 @@ class AppActions():
def on_xml_console(self, action, param):
account = param.get_string()
if 'xml_console' in gajim.interface.instances[account]:
gajim.interface.instances[account]['xml_console'].window.present()
gajim.interface.instances[account]['xml_console'].present()
else:
gajim.interface.instances[account]['xml_console'] = \
dialogs.XMLConsoleWindow(account)
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment