projects
/
psensor.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6f773ed
)
hide on startup only when compiled with appindicator support
author
Jean-Philippe Orsini
<jeanfi@gmail.com>
Wed, 1 Jun 2011 05:59:16 +0000
(
05:59
+0000)
committer
Jean-Philippe Orsini
<jeanfi@gmail.com>
Wed, 1 Jun 2011 05:59:16 +0000
(
05:59
+0000)
src/ui.c
patch
|
blob
|
history
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;
+#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);
+#else
+ gtk_widget_show_all(ui->main_window);
+#endif
+
}
static void menu_bar_show(unsigned int show, struct ui_psensor *ui)