[gthumb/gthumb-2-14] Fixed renaming in viewer mode
- From: Paolo Bacchilega <paobac src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gthumb/gthumb-2-14] Fixed renaming in viewer mode
- Date: Sun, 19 Feb 2012 14:59:10 +0000 (UTC)
commit b5b9201df244a48af9ac60af4f6b60004ee5b1b4
Author: Paolo Bacchilega <paobac src gnome org>
Date: Sun Feb 19 15:48:28 2012 +0100
Fixed renaming in viewer mode
[bug 670392]
extensions/file_manager/actions.c | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/extensions/file_manager/actions.c b/extensions/file_manager/actions.c
index 09746ef..8f40cc5 100644
--- a/extensions/file_manager/actions.c
+++ b/extensions/file_manager/actions.c
@@ -531,6 +531,11 @@ gth_browser_activate_action_edit_rename (GtkAction *action,
gth_hook_invoke ("gth-browser-file-list-rename", browser);
return;
}
+
+ if (gth_window_get_current_page (GTH_WINDOW (browser)) == GTH_BROWSER_PAGE_VIEWER) {
+ gth_hook_invoke ("gth-browser-file-list-rename", browser);
+ return;
+ }
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]