[gthumb] rename series: update the sensitivity of the command
- From: Paolo Bacchilega <paobac src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gthumb] rename series: update the sensitivity of the command
- Date: Sat, 9 Nov 2013 20:11:12 +0000 (UTC)
commit b7cb822a13e47a14981404c9b1ffd42286cd52ef
Author: Paolo Bacchilega <paobac src gnome org>
Date: Tue Nov 5 18:06:38 2013 +0100
rename series: update the sensitivity of the command
extensions/file_manager/callbacks.c | 1 +
extensions/rename_series/callbacks.c | 7 -------
2 files changed, 1 insertions(+), 7 deletions(-)
---
diff --git a/extensions/file_manager/callbacks.c b/extensions/file_manager/callbacks.c
index 693fc44..e107f65 100644
--- a/extensions/file_manager/callbacks.c
+++ b/extensions/file_manager/callbacks.c
@@ -821,6 +821,7 @@ fm__gth_browser_update_sensitivity_cb (GthBrowser *browser)
gth_window_enable_action (GTH_WINDOW (browser), "duplicate", sensitive);
gth_window_enable_action (GTH_WINDOW (browser), "move-to-folder", sensitive);
gth_window_enable_action (GTH_WINDOW (browser), "copy-to-folder", sensitive);
+ gth_window_enable_action (GTH_WINDOW (browser), "rename", n_selected > 0);
folder = gth_browser_get_folder_popup_file_data (browser);
gth_window_enable_action (GTH_WINDOW (browser), "folder-context-create", (folder != NULL) &&
g_file_info_get_attribute_boolean (folder->info, G_FILE_ATTRIBUTE_ACCESS_CAN_WRITE));
diff --git a/extensions/rename_series/callbacks.c b/extensions/rename_series/callbacks.c
index 98ddeb4..d28e552 100644
--- a/extensions/rename_series/callbacks.c
+++ b/extensions/rename_series/callbacks.c
@@ -44,10 +44,3 @@ rs__gth_browser_file_list_rename_cb (GthBrowser *browser)
_g_object_list_unref (file_data_list);
_gtk_tree_path_list_free (items);
}
-
-
-void
-rs__gth_browser_selection_changed_cb (GthBrowser *browser)
-{
-
-}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]