[Xfce4-commits] [apps/xfce4-notifyd] 01/01: Ensure the toolbar icons are really 16px
noreply at xfce.org
noreply at xfce.org
Mon Apr 22 00:07:46 CEST 2019
This is an automated email from the git hooks/post-receive script.
o c h o s i p u s h e d a c o m m i t t o b r a n c h m a s t e r
in repository apps/xfce4-notifyd.
commit 51f37dacfd301ccb9c43a19e378135670ef0fadc
Author: Simon Steinbeiss <simon.steinbeiss at elfenbeinturm.at>
Date: Mon Apr 22 00:07:31 2019 +0200
Ensure the toolbar icons are really 16px
---
xfce4-notifyd-config/main.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/xfce4-notifyd-config/main.c b/xfce4-notifyd-config/main.c
index 784dbb2..585d6b8 100644
--- a/xfce4-notifyd-config/main.c
+++ b/xfce4-notifyd-config/main.c
@@ -939,18 +939,21 @@ xfce4_notifyd_config_setup_dialog(GtkBuilder *builder)
log_widgets.log_toolbar = GTK_TOOLBAR (gtk_builder_get_object (builder, "log_toolbar"));
icon = gtk_image_new_from_icon_name ("view-refresh-symbolic", GTK_ICON_SIZE_SMALL_TOOLBAR);
+ gtk_image_set_pixel_size (GTK_IMAGE (icon), 16);
log_refresh_button = gtk_tool_button_new (icon, _("Refresh"));
gtk_widget_set_tooltip_text (GTK_WIDGET (log_refresh_button), _("Refresh the notification log"));
gtk_toolbar_insert(log_widgets.log_toolbar, GTK_TOOL_ITEM(log_refresh_button), 0);
g_signal_connect (G_OBJECT (log_refresh_button), "clicked",
G_CALLBACK (xfce4_notifyd_log_refresh), &log_widgets);
icon = gtk_image_new_from_icon_name ("document-open-symbolic", GTK_ICON_SIZE_SMALL_TOOLBAR);
+ gtk_image_set_pixel_size (GTK_IMAGE (icon), 16);
log_open_button = gtk_tool_button_new (icon, _("Open"));
gtk_widget_set_tooltip_text (GTK_WIDGET (log_open_button), _("Open the notification log in an external editor"));
gtk_toolbar_insert(log_widgets.log_toolbar, GTK_TOOL_ITEM(log_open_button), 1);
g_signal_connect (G_OBJECT (log_open_button), "clicked",
G_CALLBACK (xfce4_notifyd_log_open), log_widgets.log_listbox);
icon = gtk_image_new_from_icon_name ("edit-clear-symbolic", GTK_ICON_SIZE_SMALL_TOOLBAR);
+ gtk_image_set_pixel_size (GTK_IMAGE (icon), 16);
log_clear_button = gtk_tool_button_new (icon, _("Clear"));
gtk_widget_set_tooltip_text (GTK_WIDGET (log_clear_button), _("Clear the notification log"));
gtk_toolbar_insert(log_widgets.log_toolbar, GTK_TOOL_ITEM(log_clear_button), 2);
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list