~ubuntu-branches/ubuntu/trusty/gnomeradio/trusty

« back to all changes in this revision

Viewing changes to .pc/gnomeradio-gtk_grid.patch/src/prefs.c

  • Committer: Package Import Robot
  • Author(s): POJAR GEORGE
  • Date: 2013-05-29 16:24:49 UTC
  • Revision ID: package-import@ubuntu.com-20130529162449-9e01q64pvbu9kcc2
Tags: 1.8-2ubuntu12
* debian/gnomeradio-save_the_world: Use g_timeout_add_seconds instead
  g_timeout_add.
* Modified debian/patches/gnomeradio-media_types.patch: Don't start recording
  and show error dialog if we don't have write permission to selected location
  or else missing multimedia plugin.
* Modified debian/patches/gnomeradio-prefs.patch: Fix
  gtk_file_chooser_get_filename() return null.
* Modified debian/patches/gnomeradio-record_information.patch: Don't use
  gtk_image_new_from_pixbuf to avoid memory leak.

Show diffs side-by-side

added added

removed removed

Lines of Context:
702
702
        gtk_misc_set_alignment(GTK_MISC(destination_label), 0.0f, 0.5f);
703
703
 
704
704
        destination_button = gtk_file_chooser_button_new(
705
 
                _("Destination directory"), GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER);
 
705
                _("Select a folder"), GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER);
 
706
        gtk_file_chooser_set_filename(GTK_FILE_CHOOSER(destination_button), rec_settings.destination);
706
707
        
707
708
        profile_eb = gtk_event_box_new();
708
709
        profile_combo = gm_audio_profile_choose_new();
716
717
        g_signal_connect(GTK_FILE_CHOOSER(destination_button), "selection-changed", G_CALLBACK(destination_button_clicked_cb), NULL);
717
718
        g_signal_connect(G_OBJECT(profile_combo), "changed", G_CALLBACK(profile_combo_change_cb), NULL);
718
719
 
719
 
        gtk_file_chooser_set_filename(GTK_FILE_CHOOSER(destination_button), rec_settings.destination);
720
 
 
721
720
        gtk_widget_set_tooltip_text(profile_eb, _("Choose the Media Profile that should be used to record."));
722
721
        
723
722
        gtk_box_pack_start(GTK_BOX(rbox), record_table, TRUE, TRUE, 0);