summaryrefslogtreecommitdiffstats
path: root/gtk/src/ghb.ui
diff options
context:
space:
mode:
authorjstebbins <[email protected]>2009-04-06 06:17:50 +0000
committerjstebbins <[email protected]>2009-04-06 06:17:50 +0000
commit7ca544fec43a9d3f68830d8d47840f6d06563ffa (patch)
treeef026c918057c45b5e39e48cbc9de59de8168ba3 /gtk/src/ghb.ui
parent9cad799608299f5f56a3ae6cfce3ec761c23b8fb (diff)
LinGui: improve behavior of hud enter/leave and timout events
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2305 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'gtk/src/ghb.ui')
-rw-r--r--gtk/src/ghb.ui23
1 files changed, 19 insertions, 4 deletions
diff --git a/gtk/src/ghb.ui b/gtk/src/ghb.ui
index 7d4fc799c..797463353 100644
--- a/gtk/src/ghb.ui
+++ b/gtk/src/ghb.ui
@@ -4876,11 +4876,11 @@ location as the movie.</property>
<child>
<object class="GtkDrawingArea" id="preview_image">
<property name="visible">True</property>
- <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK | GDK_LEAVE_NOTIFY_MASK</property>
+ <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK | GDK_ENTER_NOTIFY_MASK | GDK_LEAVE_NOTIFY_MASK</property>
+ <signal name="enter-notify-event" handler="hud_enter_cb"/>
<property name="app_paintable">True</property>
<signal name="motion-notify-event" handler="preview_motion_cb"/>
<signal name="leave-notify-event" handler="preview_leave_cb"/>
- <signal handler="preview_image_configure_cb" name="configure-event"/>
</object>
<packing>
</packing>
@@ -4902,8 +4902,10 @@ location as the movie.</property>
<property name="visible">True</property>
<property name="width-request">500</property>
<property name="app-paintable">True</property>
- <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK | GDK_ENTER_NOTIFY_MASK</property>
+ <property name="above-child">False</property>
+ <property name="events">GDK_ENTER_NOTIFY_MASK | GDK_LEAVE_NOTIFY_MASK</property>
<signal name="enter-notify-event" handler="hud_enter_cb"/>
+ <signal name="leave-notify-event" handler="preview_leave_cb"/>
<child>
<object class="GtkAlignment" id="alignment53">
<property name="visible">True</property>
@@ -4924,6 +4926,8 @@ location as the movie.</property>
<property name="adjustment">adjustment19</property>
<property name="digits">0</property>
<property name="value_pos">bottom</property>
+ <property name="events">GDK_ENTER_NOTIFY_MASK</property>
+ <signal name="enter-notify-event" handler="hud_enter_cb"/>
<signal name="value_changed" handler="preview_frame_value_changed_cb"/>
</object>
<packing>
@@ -4942,6 +4946,8 @@ location as the movie.</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
<property name="relief">none</property>
+ <property name="events">GDK_ENTER_NOTIFY_MASK</property>
+ <signal name="enter-notify-event" handler="hud_enter_cb"/>
<signal name="clicked" handler="live_preview_start_cb"/>
<child>
<object class="GtkImage" id="live_preview_play_image">
@@ -4961,6 +4967,8 @@ location as the movie.</property>
<property name="adjustment">preview_progress_adj</property>
<property name="draw_value">False</property>
<property name="value_pos">right</property>
+ <property name="events">GDK_ENTER_NOTIFY_MASK</property>
+ <signal name="enter-notify-event" handler="hud_enter_cb"/>
<signal name="value_changed" handler="live_preview_seek_cb"/>
</object>
<packing>
@@ -4983,7 +4991,8 @@ location as the movie.</property>
<object class="GtkProgressBar" id="live_encode_progress">
<property name="height_request">16</property>
<property name="visible">True</property>
- <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
+ <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK | GDK_ENTER_NOTIFY_MASK</property>
+ <signal name="enter-notify-event" handler="hud_enter_cb"/>
</object>
<packing>
<property name="expand">False</property>
@@ -5034,6 +5043,8 @@ location as the movie.</property>
<property name="can_focus">True</property>
<property name="adjustment">adjustment21</property>
<property name="numeric">True</property>
+ <property name="events">GDK_ENTER_NOTIFY_MASK</property>
+ <signal name="enter-notify-event" handler="hud_enter_cb"/>
<signal name="value_changed" handler="preview_duration_changed_cb"/>
</object>
<packing>
@@ -5052,6 +5063,8 @@ location as the movie.</property>
<property name="can_focus">True</property>
<property name="tooltip-text" translatable="yes">View Fullscreen Preview</property>
<property name="label" translatable="yes">Fullscreen</property>
+ <property name="events">GDK_ENTER_NOTIFY_MASK</property>
+ <signal name="enter-notify-event" handler="hud_enter_cb"/>
<signal handler="fullscreen_clicked_cb" name="clicked"/>
</object>
<packing>
@@ -5065,6 +5078,8 @@ location as the movie.</property>
<property name="can_focus">True</property>
<property name="tooltip-text" translatable="yes">Open Picture Settings</property>
<property name="label" translatable="yes">Settings</property>
+ <property name="events">GDK_ENTER_NOTIFY_MASK</property>
+ <signal name="enter-notify-event" handler="hud_enter_cb"/>
<signal handler="picture_settings_alt2_clicked_cb" name="clicked"/>
</object>
<packing>