Commit 29464c21 authored by Emmanuel Lepage Vallee's avatar Emmanuel Lepage Vallee
Browse files

[ #13960 ] Fix slowdown

parent 2977fcf0
......@@ -103,6 +103,8 @@ static GtkWidget * imToolbar_;
static GtkWidget * editable_num_;
static GtkWidget * edit_dialog_;
// GtkToolItem *separator_;
static void
remove_from_toolbar(GtkWidget *widget)
{
......@@ -440,9 +442,6 @@ update_actions()
gtk_widget_set_sensitive(historyButton_, TRUE);
}
GtkToolItem *separator = gtk_separator_tool_item_new();
gtk_toolbar_insert(GTK_TOOLBAR(toolbar_), separator, -1);
// If addressbook support has been enabled and all addressbooks are loaded, display the icon
if (addrbook && addrbook->is_ready() && addressbook_config_load_parameters()->enable) {
......@@ -1693,6 +1692,7 @@ create_toolbar_actions(GtkUIManager *ui)
muteWidget_ = get_widget(ui, "/ToolbarActions/MuteToolbar");
imToolbar_ = get_widget(ui, "/ToolbarActions/InstantMessagingToolbar");
historyButton_ = get_widget(ui, "/ToolbarActions/HistoryToolbar");
// separator_ = gtk_separator_tool_item_new();
if (addrbook)
contactButton_ = get_widget(ui, "/ToolbarActions/AddressbookToolbar");
......
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