Skip to content

Commit 85cd7e1

Browse files
committed
ComposeTweetWindow: Insensitivize image buttons when quoting
Adding an image to a quote will just result in a warning from the twitter server after sending.
1 parent 2edcb70 commit 85cd7e1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/window/ComposeTweetWindow.vala

+2
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,8 @@ class ComposeTweetWindow : Gtk.ApplicationWindow {
105105
if (mode == Mode.QUOTE) {
106106
assert (reply_to != null);
107107
this.title_label.label = _("Quote tweet");
108+
add_image_button.sensitive = false;
109+
fav_image_button.sensitive = false;
108110
}
109111

110112
/* Let the text view immediately grab the keyboard focus */

0 commit comments

Comments
 (0)