diff options
author | jstebbins <[email protected]> | 2009-06-26 04:31:01 +0000 |
---|---|---|
committer | jstebbins <[email protected]> | 2009-06-26 04:31:01 +0000 |
commit | faa2f3c603eeb6dca2e8f286ba0541ebb22873a0 (patch) | |
tree | 877e4f1ca3c8805ec648d331037e1255c967dc3e /gtk/src/ghb.ui | |
parent | 2c2b1157d6910159a40546f22602c80bd8d9f1b6 (diff) |
LinGui: modify behavior of system tray icon
- clicking raises hb if iconified or obscured, iconifies if hb unobscured
- when hb is iconified via the system tray icon, remove it from taskbar
- preference option now enables/disables system tray icon
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2624 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'gtk/src/ghb.ui')
-rw-r--r-- | gtk/src/ghb.ui | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/gtk/src/ghb.ui b/gtk/src/ghb.ui index 520db9556..2faec4d7d 100644 --- a/gtk/src/ghb.ui +++ b/gtk/src/ghb.ui @@ -457,6 +457,8 @@ <property name="default_width">500</property> <property name="default_height">400</property> <property name="icon_name">hb-icon</property> + <property name="events">GDK_VISIBILITY_NOTIFY_MASK</property> + <signal handler="hb_visibility_event_cb" name="visibility_notify_event"/> <signal handler="window_destroy_event_cb" name="destroy_event"/> <signal handler="window_delete_event_cb" name="delete_event"/> <child> @@ -3608,13 +3610,13 @@ no-dct-decimate=0:cabac=1</property> <property name="bottom_padding">6</property> <property name="left_padding">12</property> <child> - <object class="GtkCheckButton" id="skip_taskbar"> - <property name="label" translatable="yes">Minimize to System Tray</property> + <object class="GtkCheckButton" id="show_status"> + <property name="label" translatable="yes">Show system tray icon</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> <property name="draw_indicator">True</property> - <signal name="toggled" handler="skip_taskbar_cb"/> + <signal name="toggled" handler="show_status_cb"/> </object> </child> </object> @@ -5969,6 +5971,7 @@ libx264 authors: </child> </object> <object class="GtkStatusIcon" id="hb_status"> + <property name="visible">False</property> <property name="icon_name">hb-icon</property> <signal handler="status_activate_cb" name="activate"/> </object> |