diff --git a/omemo/config_dialog.ui b/omemo/config_dialog.ui index b5981accf4241e21182fe384846a4fcee757b8d5..6b8aa07725a1f19272de6bf093bf3488062c2f90 100644 --- a/omemo/config_dialog.ui +++ b/omemo/config_dialog.ui @@ -422,39 +422,81 @@ </packing> </child> <child> - <object class="GtkHBox" id="hbox6"> + <object class="GtkVBox" id="vbox2"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="border_width">12</property> - <property name="spacing">5</property> <child> - <object class="GtkVBox" id="vbox5"> + <object class="GtkLabel" id="label6"> + <property name="height_request">30</property> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="label" translatable="yes">You have to restart Gajim for changes to take effect !</property> + <attributes> + <attribute name="weight" value="bold"/> + <attribute name="foreground" value="#ffff00000000"/> + </attributes> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">0</property> + </packing> + </child> + <child> + <object class="GtkHBox" id="hbox6"> <property name="visible">True</property> <property name="can_focus">False</property> + <property name="border_width">12</property> + <property name="spacing">5</property> <child> - <object class="GtkScrolledWindow" id="scrolledwindow3"> + <object class="GtkVBox" id="vbox5"> <property name="visible">True</property> - <property name="can_focus">True</property> - <property name="hscrollbar_policy">automatic</property> - <property name="vscrollbar_policy">automatic</property> + <property name="can_focus">False</property> <child> - <object class="GtkTreeView" id="active_accounts_view"> + <object class="GtkScrolledWindow" id="scrolledwindow3"> <property name="visible">True</property> <property name="can_focus">True</property> - <property name="model">account_store</property> + <property name="hscrollbar_policy">automatic</property> + <property name="vscrollbar_policy">automatic</property> <child> - <object class="GtkTreeViewColumn" id="treeviewcolumn1"> - <property name="title" translatable="yes">Active Accounts</property> - <property name="alignment">0.5</property> + <object class="GtkTreeView" id="active_accounts_view"> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="model">account_store</property> <child> - <object class="GtkCellRendererText" id="cellrenderertext5"/> - <attributes> - <attribute name="text">0</attribute> - </attributes> + <object class="GtkTreeViewColumn" id="treeviewcolumn1"> + <property name="title" translatable="yes">Active Accounts</property> + <property name="alignment">0.5</property> + <child> + <object class="GtkCellRendererText" id="cellrenderertext5"/> + <attributes> + <attribute name="text">0</attribute> + </attributes> + </child> + </object> </child> </object> </child> </object> + <packing> + <property name="expand">True</property> + <property name="fill">True</property> + <property name="position">0</property> + </packing> + </child> + <child> + <object class="GtkButton" id="disable_accounts_btn"> + <property name="label" translatable="yes">Disable Account</property> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="receives_default">True</property> + <signal name="clicked" handler="disable_accounts_btn_clicked" swapped="no"/> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">False</property> + <property name="position">1</property> + </packing> </child> </object> <packing> @@ -464,73 +506,59 @@ </packing> </child> <child> - <object class="GtkButton" id="disable_accounts_btn"> - <property name="label" translatable="yes">Disable Account</property> + <object class="GtkVBox" id="vbox6"> <property name="visible">True</property> - <property name="can_focus">True</property> - <property name="receives_default">True</property> - <signal name="clicked" handler="disable_accounts_btn_clicked" swapped="no"/> - </object> - <packing> - <property name="expand">False</property> - <property name="fill">False</property> - <property name="position">1</property> - </packing> - </child> - </object> - <packing> - <property name="expand">True</property> - <property name="fill">True</property> - <property name="position">0</property> - </packing> - </child> - <child> - <object class="GtkVBox" id="vbox2"> - <property name="visible">True</property> - <property name="can_focus">False</property> - <child> - <object class="GtkScrolledWindow" id="scrolledwindow4"> - <property name="visible">True</property> - <property name="can_focus">True</property> - <property name="hscrollbar_policy">automatic</property> - <property name="vscrollbar_policy">automatic</property> + <property name="can_focus">False</property> <child> - <object class="GtkTreeView" id="disabled_accounts_view"> + <object class="GtkScrolledWindow" id="scrolledwindow4"> <property name="visible">True</property> <property name="can_focus">True</property> - <property name="model">disabled_account_store</property> + <property name="hscrollbar_policy">automatic</property> + <property name="vscrollbar_policy">automatic</property> <child> - <object class="GtkTreeViewColumn" id="treeviewcolumn2"> - <property name="title" translatable="yes">Disabled Accounts</property> - <property name="alignment">0.5</property> + <object class="GtkTreeView" id="disabled_accounts_view"> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="model">disabled_account_store</property> <child> - <object class="GtkCellRendererText" id="cellrenderertext6"/> - <attributes> - <attribute name="text">0</attribute> - </attributes> + <object class="GtkTreeViewColumn" id="treeviewcolumn2"> + <property name="title" translatable="yes">Disabled Accounts</property> + <property name="alignment">0.5</property> + <child> + <object class="GtkCellRendererText" id="cellrenderertext6"/> + <attributes> + <attribute name="text">0</attribute> + </attributes> + </child> + </object> </child> </object> </child> </object> + <packing> + <property name="expand">True</property> + <property name="fill">True</property> + <property name="position">0</property> + </packing> + </child> + <child> + <object class="GtkButton" id="activate_accounts_btn"> + <property name="label" translatable="yes">Activate Account</property> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="receives_default">True</property> + <signal name="clicked" handler="activate_accounts_btn_clicked" swapped="no"/> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">False</property> + <property name="position">1</property> + </packing> </child> </object> <packing> <property name="expand">True</property> <property name="fill">True</property> - <property name="position">0</property> - </packing> - </child> - <child> - <object class="GtkButton" id="activate_accounts_btn"> - <property name="label" translatable="yes">Activate Account</property> - <property name="visible">True</property> - <property name="can_focus">True</property> - <property name="receives_default">True</property> - <signal name="clicked" handler="activate_accounts_btn_clicked" swapped="no"/> - </object> - <packing> - <property name="expand">False</property> - <property name="fill">False</property> <property name="position">1</property> </packing> </child>