[sylpheed:30943] Re: [PATCH] Don't show main window on startup
hiro-y at kcn.ne.jp
Thu Feb 15 13:22:39 JST 2007
On Wed, 14 Feb 2007 11:42:53 -0200
Ricardo Nabinger Sanchez <rnsanchez at wait4.org> wrote:
> The attached patch adds one additional persistent configuration item,
> to tell Sylpheed whether to show or not the main window upon startup.
> If enabled, the next time Sylpheed starts it will *not* display the
> main window, which can be shown at user request when clicking the
> tray icon. If disabled, Sylpheed behaves as you are used to.
> To avoid panic, this option, if enabled, will only hide the main
> window if the tray icon option is enabled and a tray icon could be
> successfully created during Sylpheed's startup.
I think just calling gtk_window_iconify() before gtk_widget_show() will
be sufficient. Thus, the feature doesn't depend on whether the tray
icon is enabled or not.
Hiroyuki Yamamoto <hiro-y at kcn.ne.jp>
More information about the Sylpheed