Commit 65dee127 authored by claes's avatar claes

Popupmenu moved 4 pix

parent 3680771b
/* /*
* Proview $Id: wb_wtt_gtk.cpp,v 1.5 2007-01-17 10:28:39 claes Exp $ * Proview $Id: wb_wtt_gtk.cpp,v 1.6 2007-01-17 12:44:05 claes Exp $
* Copyright (C) 2005 SSAB Oxelsund AB. * Copyright (C) 2005 SSAB Oxelsund AB.
* *
* This program is free software; you can redistribute it and/or * This program is free software; you can redistribute it and/or
...@@ -453,7 +453,7 @@ int WttGtk::create_popup_menu( pwr_sAttrRef aref, ...@@ -453,7 +453,7 @@ int WttGtk::create_popup_menu( pwr_sAttrRef aref,
GdkEvent *e = gtk_get_current_event(); GdkEvent *e = gtk_get_current_event();
if ( e->any.window == ((WNavGtk *)wnavnode)->brow_widget->window) { if ( e->any.window == ((WNavGtk *)wnavnode)->brow_widget->window) {
gint pos = gtk_paned_get_position( GTK_PANED(wnav_paned)); gint pos = gtk_paned_get_position( GTK_PANED(wnav_paned));
popupmenu_x += pos + 5; popupmenu_x += pos + 9;
} }
gdk_event_free( e); gdk_event_free( e);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment