summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2018-05-08 16:51:59 +0200
committerraveit65 <[email protected]>2018-05-10 21:42:28 +0200
commitc4777b09e3e2b2184895c828c05cb9f1e290fd31 (patch)
tree9b60d540fad743324f5e96b7078fa01eb4acf3b9 /src
parent42e5c91bee1d9f7ae88d291187f6f792c0f36145 (diff)
downloadcaja-c4777b09e3e2b2184895c828c05cb9f1e290fd31.tar.bz2
caja-c4777b09e3e2b2184895c828c05cb9f1e290fd31.tar.xz
eel-gtk-extensions: replace deprecated gtk_menu_popup function
Diffstat (limited to 'src')
-rw-r--r--src/caja-information-panel.c2
-rw-r--r--src/caja-places-sidebar.c2
-rw-r--r--src/file-manager/fm-directory-view.c19
3 files changed, 6 insertions, 17 deletions
diff --git a/src/caja-information-panel.c b/src/caja-information-panel.c
index 51c7e0b4..2ba15deb 100644
--- a/src/caja-information-panel.c
+++ b/src/caja-information-panel.c
@@ -694,8 +694,6 @@ caja_information_panel_press_event (GtkWidget *widget, GdkEventButton *event)
{
menu = caja_information_panel_create_context_menu (information_panel);
eel_pop_up_context_menu (GTK_MENU(menu),
- EEL_DEFAULT_POPUP_MENU_DISPLACEMENT,
- EEL_DEFAULT_POPUP_MENU_DISPLACEMENT,
event);
}
return TRUE;
diff --git a/src/caja-places-sidebar.c b/src/caja-places-sidebar.c
index 3047c514..884131b0 100644
--- a/src/caja-places-sidebar.c
+++ b/src/caja-places-sidebar.c
@@ -2791,8 +2791,6 @@ bookmarks_popup_menu (CajaPlacesSidebar *sidebar,
{
bookmarks_update_popup_menu (sidebar);
eel_pop_up_context_menu (GTK_MENU(sidebar->popup_menu),
- EEL_DEFAULT_POPUP_MENU_DISPLACEMENT,
- EEL_DEFAULT_POPUP_MENU_DISPLACEMENT,
event);
}
diff --git a/src/file-manager/fm-directory-view.c b/src/file-manager/fm-directory-view.c
index cda565ac..a4d718a5 100644
--- a/src/file-manager/fm-directory-view.c
+++ b/src/file-manager/fm-directory-view.c
@@ -9136,10 +9136,8 @@ fm_directory_view_pop_up_selection_context_menu (FMDirectoryView *view,
update_context_menu_position_from_event (view, event);
eel_pop_up_context_menu (create_popup_menu
- (view, FM_DIRECTORY_VIEW_POPUP_PATH_SELECTION),
- EEL_DEFAULT_POPUP_MENU_DISPLACEMENT,
- EEL_DEFAULT_POPUP_MENU_DISPLACEMENT,
- event);
+ (view, FM_DIRECTORY_VIEW_POPUP_PATH_SELECTION),
+ event);
}
/**
@@ -9164,12 +9162,9 @@ fm_directory_view_pop_up_background_context_menu (FMDirectoryView *view,
update_context_menu_position_from_event (view, event);
-
eel_pop_up_context_menu (create_popup_menu
- (view, FM_DIRECTORY_VIEW_POPUP_PATH_BACKGROUND),
- EEL_DEFAULT_POPUP_MENU_DISPLACEMENT,
- EEL_DEFAULT_POPUP_MENU_DISPLACEMENT,
- event);
+ (view, FM_DIRECTORY_VIEW_POPUP_PATH_BACKGROUND),
+ event);
}
static void
@@ -9181,10 +9176,8 @@ real_pop_up_location_context_menu (FMDirectoryView *view)
update_context_menu_position_from_event (view, view->details->location_popup_event);
eel_pop_up_context_menu (create_popup_menu
- (view, FM_DIRECTORY_VIEW_POPUP_PATH_LOCATION),
- EEL_DEFAULT_POPUP_MENU_DISPLACEMENT,
- EEL_DEFAULT_POPUP_MENU_DISPLACEMENT,
- view->details->location_popup_event);
+ (view, FM_DIRECTORY_VIEW_POPUP_PATH_LOCATION),
+ view->details->location_popup_event);
}
static void