Let the icon be configurable too
This commit is contained in:
parent
6862268ff5
commit
9f962df89d
|
@ -161,7 +161,9 @@ static Menu * _menu_init(PanelAppletHelper * helper, GtkWidget ** widget)
|
||||||
#else
|
#else
|
||||||
hbox = gtk_hbox_new(FALSE, 4);
|
hbox = gtk_hbox_new(FALSE, 4);
|
||||||
#endif
|
#endif
|
||||||
image = gtk_image_new_from_icon_name("start-here",
|
if((p = helper->config_get(helper->panel, "menu", "icon")) == NULL)
|
||||||
|
p = "start-here";
|
||||||
|
image = gtk_image_new_from_icon_name(p,
|
||||||
panel_window_get_icon_size(helper->window));
|
panel_window_get_icon_size(helper->window));
|
||||||
gtk_box_pack_start(GTK_BOX(hbox), image, FALSE, TRUE, 0);
|
gtk_box_pack_start(GTK_BOX(hbox), image, FALSE, TRUE, 0);
|
||||||
/* add some text if configured so */
|
/* add some text if configured so */
|
||||||
|
|
Loading…
Reference in New Issue
Block a user