summaryrefslogtreecommitdiff
path: root/gui
diff options
context:
space:
mode:
authorWerner Almesberger <werner@almesberger.net>2016-10-31 06:44:23 (GMT)
committerWerner Almesberger <werner@almesberger.net>2016-10-31 06:44:23 (GMT)
commit52050667b55c9b8f75a61ecaf39422b5ef6d0bbf (patch)
treeb9bae600d8a3774291c76f10c801a21a1ee4278f /gui
parent2ccb32faf2b17b10de9099f93a160c59b95340b8 (diff)
downloadeeshow-52050667b55c9b8f75a61ecaf39422b5ef6d0bbf.zip
eeshow-52050667b55c9b8f75a61ecaf39422b5ef6d0bbf.tar.gz
eeshow-52050667b55c9b8f75a61ecaf39422b5ef6d0bbf.tar.bz2
gui/gui.c (run_gui): we no longer need tge gtk-label-select-on-focus hack
... since we now display text with GtkTextView instead of GtkLabel.
Diffstat (limited to 'gui')
-rw-r--r--gui/gui.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/gui/gui.c b/gui/gui.c
index c5d51a2..c5cb060 100644
--- a/gui/gui.c
+++ b/gui/gui.c
@@ -453,7 +453,6 @@ int run_gui(const struct file_names *fn, bool recurse, int limit,
{
GtkWidget *window;
char *title;
- GtkSettings *settings = gtk_settings_get_default();
struct gui gui = {
.scale = 1 / 16.0,
.hist = NULL,
@@ -510,11 +509,6 @@ int run_gui(const struct file_names *fn, bool recurse, int limit,
// gtk_window_set_position(GTK_WINDOW(window), GTK_WIN_POS_CENTER);
- /* http://gtk.10911.n7.nabble.com/Question-on-gtk-label-set-selectable-td9717.html */
- if (settings)
- g_object_set(settings, "gtk-label-select-on-focus",
- FALSE, NULL);
-
go_to_sheet(&gui, gui.new_hist->sheets);
gtk_widget_show_all(window);