Reduce size of header bar icons
To conform to standard gnome sizes.
Change-Id: Ic821ce487ef1ce73bd7ea805571fe839df756ace
Tuleap: #490
diff --git a/src/ringmainwindow.cpp b/src/ringmainwindow.cpp
index 8f6dce4..d4e53d8 100644
--- a/src/ringmainwindow.cpp
+++ b/src/ringmainwindow.cpp
@@ -403,7 +403,7 @@
selection_changed(QModelIndex(), win);
/* show settings */
- gtk_image_set_from_icon_name(GTK_IMAGE(priv->image_settings), "emblem-ok-symbolic", GTK_ICON_SIZE_LARGE_TOOLBAR);
+ gtk_image_set_from_icon_name(GTK_IMAGE(priv->image_settings), "emblem-ok-symbolic", GTK_ICON_SIZE_SMALL_TOOLBAR);
gtk_widget_show(priv->hbox_settings);
@@ -430,7 +430,7 @@
g_timeout_add_full(G_PRIORITY_DEFAULT, 400, (GSourceFunc)save_accounts, working, NULL);
/* show calls */
- gtk_image_set_from_icon_name(GTK_IMAGE(priv->image_settings), "emblem-system-symbolic", GTK_ICON_SIZE_LARGE_TOOLBAR);
+ gtk_image_set_from_icon_name(GTK_IMAGE(priv->image_settings), "emblem-system-symbolic", GTK_ICON_SIZE_SMALL_TOOLBAR);
gtk_widget_hide(priv->hbox_settings);
@@ -826,7 +826,7 @@
/* set menu icon */
GdkPixbuf* image_ring = gdk_pixbuf_new_from_resource_at_scale("/cx/ring/RingGnome/ring-symbol-blue",
- -1, 24, TRUE, &error);
+ -1, 16, TRUE, &error);
if (image_ring == NULL) {
g_debug("Could not load icon: %s", error->message);
g_clear_error(&error);
@@ -840,7 +840,7 @@
g_object_unref(builder);
/* settings icon */
- gtk_image_set_from_icon_name(GTK_IMAGE(priv->image_settings), "emblem-system-symbolic", GTK_ICON_SIZE_LARGE_TOOLBAR);
+ gtk_image_set_from_icon_name(GTK_IMAGE(priv->image_settings), "emblem-system-symbolic", GTK_ICON_SIZE_SMALL_TOOLBAR);
/* connect settings button signal */
g_signal_connect(priv->ring_settings, "clicked", G_CALLBACK(settings_clicked), win);
diff --git a/ui/ringmainwindow.ui b/ui/ringmainwindow.ui
index 72902ea..16f7c47 100644
--- a/ui/ringmainwindow.ui
+++ b/ui/ringmainwindow.ui
@@ -393,16 +393,16 @@
<object class="GtkImage" id="image_general_settings">
<property name="visible">True</property>
<property name="icon-name">preferences-system-symbolic</property>
- <property name="icon-size">3</property>
+ <property name="icon-size">2</property>
</object>
<object class="GtkImage" id="image_media_settings">
<property name="visible">True</property>
<property name="icon-name">applications-multimedia-symbolic</property>
- <property name="icon-size">3</property>
+ <property name="icon-size">2</property>
</object>
<object class="GtkImage" id="image_account_settings">
<property name="visible">True</property>
<property name="icon-name">user-info-symbolic</property>
- <property name="icon-size">3</property>
+ <property name="icon-size">2</property>
</object>
</interface>