Use default icon if a page doesn't provide one
This commit is contained in:
parent
49ce9a2473
commit
961a3bb4c3
@ -455,6 +455,9 @@ moo_prefs_dialog_insert_page (MooPrefsDialog *dialog,
|
||||
"icon-stock-id", &icon_id,
|
||||
NULL);
|
||||
|
||||
if (!icon_id)
|
||||
icon_id = g_strdup (GTK_STOCK_PREFERENCES);
|
||||
|
||||
gtk_list_store_set (dialog->store, &iter,
|
||||
ICON_ID_COLUMN, icon_id,
|
||||
ICON_COLUMN, icon,
|
||||
|
Loading…
x
Reference in New Issue
Block a user