diff options
Diffstat (limited to 'src/fs/gnunet-fs-gtk.c')
-rw-r--r-- | src/fs/gnunet-fs-gtk.c | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/src/fs/gnunet-fs-gtk.c b/src/fs/gnunet-fs-gtk.c index 5f9c4bbc..ea3397d8 100644 --- a/src/fs/gnunet-fs-gtk.c +++ b/src/fs/gnunet-fs-gtk.c | |||
@@ -721,7 +721,8 @@ run (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) | |||
721 | 721 | ||
722 | /* setup main window */ | 722 | /* setup main window */ |
723 | maximized = GNUNET_CONFIGURATION_get_value_yesno (main_context.cfg, | 723 | maximized = GNUNET_CONFIGURATION_get_value_yesno (main_context.cfg, |
724 | "gnunet-fs-gtk", "MAIN_WINDOW_MAXIMIZED"); | 724 | "gnunet-fs-gtk", |
725 | "MAIN_WINDOW_MAXIMIZED"); | ||
725 | if (GNUNET_SYSERR == maximized) | 726 | if (GNUNET_SYSERR == maximized) |
726 | maximized = GNUNET_YES; | 727 | maximized = GNUNET_YES; |
727 | if ( (GNUNET_NO == maximized) && | 728 | if ( (GNUNET_NO == maximized) && |
@@ -747,11 +748,11 @@ run (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) | |||
747 | /* FIXME-GTK3: this can be done within (modern versions of) glade */ | 748 | /* FIXME-GTK3: this can be done within (modern versions of) glade */ |
748 | gtk_tree_selection_set_mode (gtk_tree_view_get_selection (main_context.md_treeview), | 749 | gtk_tree_selection_set_mode (gtk_tree_view_get_selection (main_context.md_treeview), |
749 | GTK_SELECTION_MULTIPLE); | 750 | GTK_SELECTION_MULTIPLE); |
750 | 751 | if (NULL == getenv ("GNUNET_FS_GTK_PLUG")) | |
751 | GNUNET_GTK_tray_icon_create (ml, | 752 | GNUNET_GTK_tray_icon_create (ml, |
752 | GTK_WINDOW (main_context.main_window), | 753 | GTK_WINDOW (main_context.main_window), |
753 | "gnunet-fs-gtk", | 754 | "gnunet-fs-gtk", |
754 | "gnunet-fs-gtk"); | 755 | "gnunet-fs-gtk"); |
755 | 756 | ||
756 | /* FIXME: should these '1's be here? Maybe better to put them into | 757 | /* FIXME: should these '1's be here? Maybe better to put them into |
757 | * default config files? | 758 | * default config files? |