aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2011-09-16 10:17:36 -0500
committerTed Gould <ted@gould.cx>2011-09-16 10:17:36 -0500
commit8ca02b8e62853b79feee7e8a2b38fa680a7de12e (patch)
treedd17e5afab645ef4b34fafb727fce07ab45e368d /src
parentf269963322e38963b8d2c5fdaea3d28622d552af (diff)
downloadayatana-ido-8ca02b8e62853b79feee7e8a2b38fa680a7de12e.tar.gz
ayatana-ido-8ca02b8e62853b79feee7e8a2b38fa680a7de12e.tar.bz2
ayatana-ido-8ca02b8e62853b79feee7e8a2b38fa680a7de12e.zip
Clean up some debug and such
Diffstat (limited to 'src')
-rw-r--r--src/idocalendarmenuitem.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/idocalendarmenuitem.c b/src/idocalendarmenuitem.c
index aa59989..4eac1c5 100644
--- a/src/idocalendarmenuitem.c
+++ b/src/idocalendarmenuitem.c
@@ -227,8 +227,8 @@ ido_calendar_menu_item_button_press (GtkWidget *widget,
((GdkEventButton *)newevent)->window = newwindow;
- //gdk_window_get_position((GdkWindow*)child->data, &winx, &winy);
gdk_window_get_position(newwindow, &winx, &winy);
+ g_debug("Window position: %dx%d", winx, winy);
newx = root_x - winx;
newy = root_y - winy;
@@ -237,8 +237,8 @@ ido_calendar_menu_item_button_press (GtkWidget *widget,
//if (newx >= 0 && newy >= 0 && newx < gdk_window_get_width(newwindow) && newy < gdk_window_get_height(newwindow)) {
gboolean returned = FALSE;
g_debug("Simulating event at: %dx%d", newx, newy);
- ((GdkEventButton *)newevent)->x = newx;
- ((GdkEventButton *)newevent)->y = newy;
+ //((GdkEventButton *)newevent)->x = newx;
+ //((GdkEventButton *)newevent)->y = newy;
returned = GTK_WIDGET_GET_CLASS(calendar)->button_press_event(GTK_WIDGET(calendar), (GdkEventButton*)newevent);
if (returned) {