statusicon: add larger icons for GNOME 3 and use them

This commit is contained in:
Hylke Bons 2013-01-23 11:59:46 +00:00
parent 424aecffad
commit 295b01a75a
8 changed files with 3329 additions and 400 deletions

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 740 KiB

After

Width:  |  Height:  |  Size: 763 KiB

File diff suppressed because it is too large Load diff

Before

Width:  |  Height:  |  Size: 82 KiB

After

Width:  |  Height:  |  Size: 143 KiB

View file

@ -26,6 +26,10 @@ app_theme_icons = \
status,process-syncing-down-24.png \
status,process-syncing-24.png \
status,process-syncing-error-24.png \
status,process-syncing-up-48.png \
status,process-syncing-down-48.png \
status,process-syncing-48.png \
status,process-syncing-error-48.png \
status,document-added-12.png \
status,document-edited-12.png \
status,document-deleted-12.png \

Binary file not shown.

After

Width:  |  Height:  |  Size: 2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

View file

@ -37,12 +37,6 @@ namespace SparkleShare {
private ApplicationIndicator indicator;
#else
private StatusIcon status_icon;
private Gdk.Pixbuf syncing_idle_image = SparkleUIHelpers.GetIcon ("sparkleshare", 48);
private Gdk.Pixbuf syncing_up_image = SparkleUIHelpers.GetIcon ("process-syncing-up", 48);
private Gdk.Pixbuf syncing_down_image = SparkleUIHelpers.GetIcon ("process-syncing-down", 48);
private Gdk.Pixbuf syncing_image = SparkleUIHelpers.GetIcon ("process-syncing", 48);
private Gdk.Pixbuf syncing_error_image = SparkleUIHelpers.GetIcon ("process-syncing-error", 48);
#endif
@ -53,8 +47,8 @@ namespace SparkleShare {
this.indicator.IconName = "process-syncing-idle";
this.indicator.Status = Status.Active;
#else
this.status_icon = new StatusIcon ();
this.status_icon.Pixbuf = this.syncing_idle_image;
this.status_icon = new StatusIcon ();
this.status_icon.IconName = "sparkleshare";
this.status_icon.Activate += ShowMenu; // Primary mouse button click
this.status_icon.PopupMenu += ShowMenu; // Secondary mouse button click
@ -69,7 +63,7 @@ namespace SparkleShare {
#if HAVE_APP_INDICATOR
this.indicator.IconName = "process-syncing-idle";
#else
this.status_icon.Pixbuf = this.syncing_idle_image;
this.status_icon.IconName = "sparkleshare";
#endif
break;
}
@ -77,7 +71,7 @@ namespace SparkleShare {
#if HAVE_APP_INDICATOR
this.indicator.IconName = "process-syncing-up";
#else
this.status_icon.Pixbuf = this.syncing_up_image;
this.status_icon.IconName = "process-syncing-up";
#endif
break;
}
@ -85,7 +79,7 @@ namespace SparkleShare {
#if HAVE_APP_INDICATOR
this.indicator.IconName = "process-syncing-down";
#else
this.status_icon.Pixbuf = this.syncing_down_image;
this.status_icon.IconName = "process-syncing-down";
#endif
break;
}
@ -93,7 +87,7 @@ namespace SparkleShare {
#if HAVE_APP_INDICATOR
this.indicator.IconName = "process-syncing";
#else
this.status_icon.Pixbuf = this.syncing_image;
this.status_icon.IconName = "process-syncing";
#endif
break;
}
@ -101,7 +95,7 @@ namespace SparkleShare {
#if HAVE_APP_INDICATOR
this.indicator.IconName = "process-syncing-error";
#else
this.status_icon.Pixbuf = this.syncing_error_image;
this.status_icon.IconName = "process-syncing-error";
#endif
break;
}