[gthumb] copy/move: added suggested hint to the copy/move button
- From: Paolo Bacchilega <paobac src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gthumb] copy/move: added suggested hint to the copy/move button
- Date: Sat, 26 Dec 2015 21:33:41 +0000 (UTC)
commit 1761adec62a30a8f7a2f65bbb03e314f0e0e0b82
Author: Paolo Bacchilega <paobac src gnome org>
Date: Sat Dec 26 22:32:58 2015 +0100
copy/move: added suggested hint to the copy/move button
extensions/file_manager/actions.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/extensions/file_manager/actions.c b/extensions/file_manager/actions.c
index 6283ee5..aa86315 100644
--- a/extensions/file_manager/actions.c
+++ b/extensions/file_manager/actions.c
@@ -663,6 +663,9 @@ copy_to_folder_dialog (GthBrowser *browser,
(move ? _("Move") : _("Copy")), GTK_RESPONSE_ACCEPT,
NULL);
+ gtk_style_context_add_class (gtk_widget_get_style_context (gtk_dialog_get_widget_for_response
(GTK_DIALOG (dialog), GTK_RESPONSE_ACCEPT)),
+ GTK_STYLE_CLASS_SUGGESTED_ACTION);
+
start_uri = g_settings_get_string (settings, PREF_FILE_MANAGER_COPY_LAST_FOLDER);
if ((start_uri == NULL) || (strcmp (start_uri, "") == 0)) {
g_free (start_uri);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]