Commit ffaa6094 authored by Gaël Bonithon's avatar Gaël Bonithon
Browse files

panel: Populate item dialog after setting dialog screen (Fixes #62)

parent c57a3bf2
......@@ -292,8 +292,6 @@ panel_item_dialog_init (PanelItemDialog *dialog)
gtk_tree_view_column_set_attributes (column, renderer, "sensitive", COLUMN_SENSITIVE, NULL);
g_object_set (G_OBJECT (renderer), "ellipsize", PANGO_ELLIPSIZE_END, NULL);
gtk_tree_view_append_column (GTK_TREE_VIEW (treeview), column);
panel_item_dialog_populate_store (dialog);
}
......@@ -842,6 +840,9 @@ panel_item_dialog_show (PanelWindow *window)
screen = gdk_screen_get_default ();
}
/* populate store after setting the screen so that module usability is set correctly */
panel_item_dialog_populate_store (dialog_singleton);
gtk_window_set_screen (GTK_WINDOW (dialog_singleton), screen);
/* focus the window */
......
Supports Markdown
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