statusicon: add larger icons for GNOME 3 and use them
Before Width: | Height: | Size: 740 KiB After Width: | Height: | Size: 763 KiB |
Before Width: | Height: | Size: 82 KiB After Width: | Height: | Size: 143 KiB |
|
@ -26,6 +26,10 @@ app_theme_icons = \
|
||||||
status,process-syncing-down-24.png \
|
status,process-syncing-down-24.png \
|
||||||
status,process-syncing-24.png \
|
status,process-syncing-24.png \
|
||||||
status,process-syncing-error-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-added-12.png \
|
||||||
status,document-edited-12.png \
|
status,document-edited-12.png \
|
||||||
status,document-deleted-12.png \
|
status,document-deleted-12.png \
|
||||||
|
|
BIN
SparkleShare/Linux/Pixmaps/icons/process-syncing-48.png
Normal file
After Width: | Height: | Size: 2 KiB |
BIN
SparkleShare/Linux/Pixmaps/icons/process-syncing-down-48.png
Normal file
After Width: | Height: | Size: 2 KiB |
BIN
SparkleShare/Linux/Pixmaps/icons/process-syncing-error-48.png
Normal file
After Width: | Height: | Size: 3 KiB |
BIN
SparkleShare/Linux/Pixmaps/icons/process-syncing-up-48.png
Normal file
After Width: | Height: | Size: 1.9 KiB |
|
@ -37,12 +37,6 @@ namespace SparkleShare {
|
||||||
private ApplicationIndicator indicator;
|
private ApplicationIndicator indicator;
|
||||||
#else
|
#else
|
||||||
private StatusIcon status_icon;
|
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
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
@ -54,7 +48,7 @@ namespace SparkleShare {
|
||||||
this.indicator.Status = Status.Active;
|
this.indicator.Status = Status.Active;
|
||||||
#else
|
#else
|
||||||
this.status_icon = new StatusIcon ();
|
this.status_icon = new StatusIcon ();
|
||||||
this.status_icon.Pixbuf = this.syncing_idle_image;
|
this.status_icon.IconName = "sparkleshare";
|
||||||
|
|
||||||
this.status_icon.Activate += ShowMenu; // Primary mouse button click
|
this.status_icon.Activate += ShowMenu; // Primary mouse button click
|
||||||
this.status_icon.PopupMenu += ShowMenu; // Secondary mouse button click
|
this.status_icon.PopupMenu += ShowMenu; // Secondary mouse button click
|
||||||
|
@ -69,7 +63,7 @@ namespace SparkleShare {
|
||||||
#if HAVE_APP_INDICATOR
|
#if HAVE_APP_INDICATOR
|
||||||
this.indicator.IconName = "process-syncing-idle";
|
this.indicator.IconName = "process-syncing-idle";
|
||||||
#else
|
#else
|
||||||
this.status_icon.Pixbuf = this.syncing_idle_image;
|
this.status_icon.IconName = "sparkleshare";
|
||||||
#endif
|
#endif
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
@ -77,7 +71,7 @@ namespace SparkleShare {
|
||||||
#if HAVE_APP_INDICATOR
|
#if HAVE_APP_INDICATOR
|
||||||
this.indicator.IconName = "process-syncing-up";
|
this.indicator.IconName = "process-syncing-up";
|
||||||
#else
|
#else
|
||||||
this.status_icon.Pixbuf = this.syncing_up_image;
|
this.status_icon.IconName = "process-syncing-up";
|
||||||
#endif
|
#endif
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
@ -85,7 +79,7 @@ namespace SparkleShare {
|
||||||
#if HAVE_APP_INDICATOR
|
#if HAVE_APP_INDICATOR
|
||||||
this.indicator.IconName = "process-syncing-down";
|
this.indicator.IconName = "process-syncing-down";
|
||||||
#else
|
#else
|
||||||
this.status_icon.Pixbuf = this.syncing_down_image;
|
this.status_icon.IconName = "process-syncing-down";
|
||||||
#endif
|
#endif
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
@ -93,7 +87,7 @@ namespace SparkleShare {
|
||||||
#if HAVE_APP_INDICATOR
|
#if HAVE_APP_INDICATOR
|
||||||
this.indicator.IconName = "process-syncing";
|
this.indicator.IconName = "process-syncing";
|
||||||
#else
|
#else
|
||||||
this.status_icon.Pixbuf = this.syncing_image;
|
this.status_icon.IconName = "process-syncing";
|
||||||
#endif
|
#endif
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
@ -101,7 +95,7 @@ namespace SparkleShare {
|
||||||
#if HAVE_APP_INDICATOR
|
#if HAVE_APP_INDICATOR
|
||||||
this.indicator.IconName = "process-syncing-error";
|
this.indicator.IconName = "process-syncing-error";
|
||||||
#else
|
#else
|
||||||
this.status_icon.Pixbuf = this.syncing_error_image;
|
this.status_icon.IconName = "process-syncing-error";
|
||||||
#endif
|
#endif
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|