diff options
author | Přemysl Eric Janouch <p@janouch.name> | 2022-09-03 17:19:12 +0200 |
---|---|---|
committer | Přemysl Eric Janouch <p@janouch.name> | 2022-09-03 17:19:12 +0200 |
commit | 49072f9d01504dcd1670811b80d6b11bb8c6e1a9 (patch) | |
tree | 754c89ffb51553e4e6620776e129e927cbc17bc1 | |
parent | b0f1d3d6ea1b380e628958bd1b17ccb2c789ec2d (diff) | |
download | tdv-49072f9d01504dcd1670811b80d6b11bb8c6e1a9.tar.gz tdv-49072f9d01504dcd1670811b80d6b11bb8c6e1a9.tar.xz tdv-49072f9d01504dcd1670811b80d6b11bb8c6e1a9.zip |
sdgui: fix context menu item sensitivity
-rw-r--r-- | src/stardict-view.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stardict-view.c b/src/stardict-view.c index 32d7259..cc7935b 100644 --- a/src/stardict-view.c +++ b/src/stardict-view.c @@ -729,7 +729,7 @@ make_context_menu (StardictView *self) { GtkWidget *copy = gtk_menu_item_new_with_mnemonic ("_Copy"); gtk_widget_set_sensitive (copy, - self->selection_begin < self->selection_end); + self->selection_begin != self->selection_end); g_signal_connect_data (copy, "activate", G_CALLBACK (on_copy_activate), g_object_ref (self), (GClosureNotify) g_object_unref, 0); |