Change some icons
This commit is contained in:
parent
a0e0cba136
commit
da7222d427
|
@ -27,10 +27,6 @@
|
|||
opacity: 0.15;
|
||||
}
|
||||
|
||||
.attachment{
|
||||
border-radius: 3px;
|
||||
}
|
||||
|
||||
.relationship {
|
||||
background: rgba (0,0,0,.5);
|
||||
padding: 6px;
|
||||
|
|
|
@ -18,7 +18,7 @@ public enum Tootle.StatusVisibility {
|
|||
assert_not_reached();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
public static StatusVisibility from_string (string str) {
|
||||
switch (str) {
|
||||
case "public":
|
||||
|
@ -33,7 +33,7 @@ public enum Tootle.StatusVisibility {
|
|||
assert_not_reached();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
public string get_desc () {
|
||||
switch (this) {
|
||||
case PUBLIC:
|
||||
|
@ -48,7 +48,7 @@ public enum Tootle.StatusVisibility {
|
|||
assert_not_reached();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
public string get_icon () {
|
||||
switch (this) {
|
||||
case PUBLIC:
|
||||
|
@ -58,14 +58,14 @@ public enum Tootle.StatusVisibility {
|
|||
case PRIVATE:
|
||||
return "security-medium-symbolic";
|
||||
case DIRECT:
|
||||
return "mail-send-symbolic";
|
||||
return "user-available-symbolic";
|
||||
default:
|
||||
assert_not_reached();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
public static StatusVisibility[] get_all () {
|
||||
return {StatusVisibility.PUBLIC, StatusVisibility.UNLISTED, StatusVisibility.PRIVATE, StatusVisibility.DIRECT};
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
|
|
@ -35,7 +35,7 @@ public class Tootle.AccountsButton : Gtk.MenuButton{
|
|||
display_name.use_markup = true;
|
||||
instance = new Gtk.Label ("");
|
||||
instance.halign = Gtk.Align.START;
|
||||
button = new Gtk.Button.from_icon_name ("close-symbolic", Gtk.IconSize.SMALL_TOOLBAR);
|
||||
button = new Gtk.Button.from_icon_name ("window-close-symbolic", Gtk.IconSize.SMALL_TOOLBAR);
|
||||
button.receives_default = false;
|
||||
button.get_style_context ().add_class (Gtk.STYLE_CLASS_FLAT);
|
||||
|
||||
|
|
|
@ -93,7 +93,7 @@ public class Tootle.StatusWidget : Gtk.EventBox {
|
|||
if (favorite.sensitive)
|
||||
this.status.get_formal ().set_favorited (favorite.get_active ());
|
||||
});
|
||||
reply = new ImageToggleButton ("mail-reply-sender-symbolic");
|
||||
reply = new ImageToggleButton ("mail-replied-symbolic");
|
||||
reply.set_action ();
|
||||
reply.tooltip_text = _("Reply");
|
||||
reply.toggled.connect (() => {
|
||||
|
|
Loading…
Reference in New Issue