diff options
author | Tomasz Gąsior | 2017-07-10 23:20:01 +0200 |
---|---|---|
committer | Tomasz Gąsior | 2017-07-11 09:57:35 +0200 |
commit | b8267c28cb6eee5827212f2018a98d65bab0dadb (patch) | |
tree | ba4ed849a08cb4b35f42ec310745b4e97dd0c999 /p__icons__buttons.patch | |
parent | d1bc1c677bbd5b7acdbf5e90a3ad96a74635c390 (diff) | |
download | aur-b8267c28cb6eee5827212f2018a98d65bab0dadb.tar.gz |
Context menus instead of popovers.
- Context menus of file chooser dialog and color chooser dialog are not displayed as popovers.
- Icons patches updated.
Diffstat (limited to 'p__icons__buttons.patch')
-rw-r--r-- | p__icons__buttons.patch | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/p__icons__buttons.patch b/p__icons__buttons.patch index bbd3a3015f5a..44d617e37f6c 100644 --- a/p__icons__buttons.patch +++ b/p__icons__buttons.patch @@ -30,7 +30,7 @@ diff -U 10 -r -Z -B ./org/gtk/gtkbutton.c ./mod/gtk/gtkbutton.c + else if (g_strcmp0( label, _("_Add") ) == 0) use_this_icon = "gtk-add"; + else if (g_strcmp0( label, _("_Help") ) == 0) use_this_icon = "gtk-help"; + if (use_this_icon) -+ gtk_button_set_image(GTK_BUTTON(button), gtk_image_new_from_icon_name(use_this_icon,GTK_ICON_SIZE_BUTTON)); ++ g_object_set(button, "image", gtk_image_new_from_icon_name(use_this_icon,GTK_ICON_SIZE_BUTTON), NULL); + } + priv = button->priv; |