projects
/
psensor.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
hide on startup only when compiled with appindicator support
[psensor.git]
/
src
/
ui.c
diff --git
a/src/ui.c
b/src/ui.c
index
f71b84e
..
504601e
100644
(file)
--- a/
src/ui.c
+++ b/
src/ui.c
@@
-187,10
+187,15
@@
void ui_window_create(struct ui_psensor *ui)
ui->main_window = window;
ui->menu_bar = menubar;
ui->main_window = window;
ui->menu_bar = menubar;
+#if defined(HAVE_APPINDICATOR) || defined(HAVE_APPINDICATOR_029)
if (ui->config->hide_on_startup)
gtk_widget_show_all(ui->main_box);
else
gtk_widget_show_all(ui->main_window);
if (ui->config->hide_on_startup)
gtk_widget_show_all(ui->main_box);
else
gtk_widget_show_all(ui->main_window);
+#else
+ gtk_widget_show_all(ui->main_window);
+#endif
+
}
static void menu_bar_show(unsigned int show, struct ui_psensor *ui)
}
static void menu_bar_show(unsigned int show, struct ui_psensor *ui)