~ubuntu-branches/ubuntu/oneiric/alarm-clock/oneiric

« back to all changes in this revision

Viewing changes to src/modify_alarm.c

  • Committer: Bazaar Package Importer
  • Author(s): Ryan Niebur
  • Date: 2009-09-06 12:14:17 UTC
  • mto: (9.1.4 sid) (1.2.3 upstream)
  • mto: This revision was merged to the branch mainline in revision 12.
  • Revision ID: james.westby@ubuntu.com-20090906121417-huija3fws4stmg41
Tags: upstream-1.2.3
ImportĀ upstreamĀ versionĀ 1.2.3

Show diffs side-by-side

added added

removed removed

Lines of Context:
902
902
                gtk_message_dialog_set_markup(GTK_MESSAGE_DIALOG(error_dialog),
903
903
                                                                          _("<b>Error occured!</b>"));
904
904
                gtk_message_dialog_format_secondary_text(GTK_MESSAGE_DIALOG(error_dialog),
905
 
                                                                                                 _("Alarm title cannot be empty."));
 
905
                                                         _("Alarm title cannot be empty."));
906
906
                gtk_dialog_run (GTK_DIALOG (error_dialog));
907
907
                gtk_widget_destroy (GTK_WIDGET(error_dialog));
908
908
                
913
913
        {
914
914
                translate_keys(current_key, loaded_alarms);
915
915
                data = g_key_file_to_data(loaded_alarms, NULL, NULL);
916
 
        
917
916
                g_file_set_contents(config_alarms, data, -1, NULL);
918
 
 
919
917
        }
920
918
        else
921
919
        {
949
947
 
950
948
 
951
949
        reload_alarms();
952
 
        
953
950
        update_list_entries();
954
951
        hide_modify_alarm();
955
952