1
0
mirror of https://gitlab.gnome.org/World/tootle synced 2025-02-08 07:38:39 +01:00

Change favorite icon (#113)

Closes #29
This commit is contained in:
Joshua Strobl 2019-03-09 12:32:26 +02:00 committed by Bleak Grey
parent 43b9f9c561
commit ffbc9f7736
2 changed files with 2 additions and 2 deletions

View File

@ -78,7 +78,7 @@ public enum Tootle.NotificationType {
case REBLOG: case REBLOG:
return "media-playlist-repeat-symbolic"; return "media-playlist-repeat-symbolic";
case FAVORITE: case FAVORITE:
return "help-about-symbolic"; return "emblem-favorite-symbolic";
case FOLLOW: case FOLLOW:
case FOLLOW_REQUEST: case FOLLOW_REQUEST:
return "contact-new-symbolic"; return "contact-new-symbolic";

View File

@ -86,7 +86,7 @@ public class Tootle.StatusWidget : Gtk.EventBox {
if (reblog.sensitive) if (reblog.sensitive)
this.status.get_formal ().set_reblogged (reblog.get_active ()); this.status.get_formal ().set_reblogged (reblog.get_active ());
}); });
favorite = new ImageToggleButton ("help-about-symbolic"); favorite = new ImageToggleButton ("emblem-favorite-symbolic");
favorite.set_action (); favorite.set_action ();
favorite.tooltip_text = _("Favorite"); favorite.tooltip_text = _("Favorite");
favorite.toggled.connect (() => { favorite.toggled.connect (() => {