* Add a new gettext macro to use holdon-common-strings
authorJavier Fernandez Garcia-Boente <jfernandez@igalia.com>
Mon, 25 Jun 2007 07:42:57 +0000 (07:42 +0000)
committerJavier Fernandez Garcia-Boente <jfernandez@igalia.com>
Mon, 25 Jun 2007 07:42:57 +0000 (07:42 +0000)
translate domain.
* Add a new notification banner to edit/copy operation.

pmo-trunk-r2388

src/modest-text-utils.h
src/modest-ui-actions.c
src/modest-ui-dimming-rules.c

index 5b64000..07b1c66 100644 (file)
@@ -38,6 +38,7 @@
 #include <gdk/gdkcolor.h>
 
 #define _FM(str) dgettext("hildon-fm",str)
+#define _CS(str) dgettext("hildon-common-strings",str)
 
 /**
  * modest_text_utils_derived_subject:
index fe43926..102dc0f 100644 (file)
@@ -2212,6 +2212,10 @@ modest_ui_actions_on_copy (GtkAction *action,
        } else if (MODEST_IS_FOLDER_VIEW (focused_widget)) {
                modest_folder_view_copy_selection (MODEST_FOLDER_VIEW (focused_widget));
        }    
+
+       /* Show information banner */
+       modest_platform_information_banner (NULL, NULL, _CS("ecoc_ib_edwin_copied"));
+       
 }
 
 void
index ed7345f..a816778 100644 (file)
@@ -300,7 +300,7 @@ modest_ui_dimming_rules_on_delete_msg (ModestWindow *win, gpointer user_data)
                if (!dimmed) {
                        dimmed = _selected_folder_is_empty (MODEST_MAIN_WINDOW(win));                   
                        if (dimmed)
-                               modest_dimming_rule_set_notification (rule, _("ckct_ib_nothing_to_delete"));
+                               modest_dimming_rule_set_notification (rule, _CS("ckct_ib_nothing_to_delete"));
                }
                if (!dimmed) {
                        dimmed = _invalid_msg_selected (MODEST_MAIN_WINDOW(win), FALSE, user_data);