[nautilus] progress-info: use a symbolic icon for the notification area (#596568)
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus] progress-info: use a symbolic icon for the notification area (#596568)
- Date: Tue, 18 Jan 2011 00:55:47 +0000 (UTC)
commit 04d3aa67294f300f3b0bd927be5f45666260c5d3
Author: Nicolò Chieffo <84yelo3 gmail com>
Date: Mon Jan 17 16:54:39 2011 +0100
progress-info: use a symbolic icon for the notification area (#596568)
libnautilus-private/nautilus-progress-info.c | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/libnautilus-private/nautilus-progress-info.c b/libnautilus-private/nautilus-progress-info.c
index abd11ea..172aa7a 100644
--- a/libnautilus-private/nautilus-progress-info.c
+++ b/libnautilus-private/nautilus-progress-info.c
@@ -210,6 +210,7 @@ get_progress_window (void)
{
static GtkWidget *progress_window = NULL;
GtkWidget *vbox;
+ GIcon *icon;
if (progress_window != NULL) {
return progress_window;
@@ -241,13 +242,15 @@ get_progress_window (void)
"delete_event",
(GCallback)delete_event, NULL);
- status_icon = gtk_status_icon_new_from_icon_name ("system-file-manager");
+ icon = g_themed_icon_new_with_default_fallbacks ("system-file-manager-symbolic");
+ status_icon = gtk_status_icon_new_from_gicon (icon);
g_signal_connect (status_icon, "activate",
(GCallback)status_icon_activate_cb,
progress_window);
gtk_status_icon_set_visible (status_icon, FALSE);
-
+ g_object_unref (icon);
+
return progress_window;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]