[gnome-disk-utility] Use new icon for gear menu
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-disk-utility] Use new icon for gear menu
- Date: Wed, 12 Nov 2014 19:59:00 +0000 (UTC)
commit 168eab952c7d4bfb2779872a89c1ba610690f0fa
Author: Matthias Clasen <mclasen redhat com>
Date: Wed Jul 9 21:26:28 2014 -0400
Use new icon for gear menu
The open-menu-symbolic icon is the replacement for using
emblem-system-symbolic for 'gear' menus in headerbars.
See
https://wiki.gnome.org/Initiatives/GnomeGoals/GearIcons
https://bugzilla.gnome.org/show_bug.cgi?id=732980
src/disks/gduwindow.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/src/disks/gduwindow.c b/src/disks/gduwindow.c
index f8710d6..e8646cc 100644
--- a/src/disks/gduwindow.c
+++ b/src/disks/gduwindow.c
@@ -980,8 +980,7 @@ create_header (GduWindow *window)
button = window->devtab_drive_generic_button = gtk_menu_button_new ();
gtk_menu_button_set_popup (GTK_MENU_BUTTON (button), window->generic_drive_menu);
- image = gtk_image_new_from_icon_name ("emblem-system-symbolic", GTK_ICON_SIZE_MENU);
- gtk_button_set_image (GTK_BUTTON (button), image);
+ gtk_menu_button_set_direction (GTK_MENU_BUTTON (button), GTK_ARROW_NONE);
gtk_header_bar_pack_end (GTK_HEADER_BAR (header), button);
button = window->devtab_drive_power_off_button = gtk_button_new ();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]