[gnome-flashback] libsound-applet: don't use deprecated GtkImageMenuItem
- From: Alberts Muktupāvels <muktupavels src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-flashback] libsound-applet: don't use deprecated GtkImageMenuItem
- Date: Fri, 29 Aug 2014 20:34:13 +0000 (UTC)
commit 69aac25731f4a4392e8f8d31f294d279ec093928
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date: Fri Aug 29 22:00:26 2014 +0300
libsound-applet: don't use deprecated GtkImageMenuItem
.../libsound-applet/gvc-stream-status-icon.c | 6 +-----
1 files changed, 1 insertions(+), 5 deletions(-)
---
diff --git a/gnome-flashback/libsound-applet/gvc-stream-status-icon.c
b/gnome-flashback/libsound-applet/gvc-stream-status-icon.c
index c958cb5..aa15e9d 100644
--- a/gnome-flashback/libsound-applet/gvc-stream-status-icon.c
+++ b/gnome-flashback/libsound-applet/gvc-stream-status-icon.c
@@ -252,7 +252,6 @@ on_status_icon_popup_menu (GtkStatusIcon *status_icon,
{
GtkWidget *menu;
GtkWidget *item;
- GtkWidget *image;
menu = gtk_menu_new ();
@@ -265,10 +264,7 @@ on_status_icon_popup_menu (GtkStatusIcon *status_icon,
icon);
gtk_menu_shell_append (GTK_MENU_SHELL (menu), item);
- item = gtk_image_menu_item_new_with_mnemonic (_("_Sound Preferences"));
- image = gtk_image_new_from_icon_name ("multimedia-volume-control",
- GTK_ICON_SIZE_MENU);
- gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (item), image);
+ item = gtk_menu_item_new_with_mnemonic (_("_Sound Preferences"));
g_signal_connect (item,
"activate",
G_CALLBACK (on_menu_activate_open_volume_control),
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]