~ubuntu-branches/ubuntu/lucid/liferea/lucid-201003041913

« back to all changes in this revision

Viewing changes to src/ui/ui_prefs.c

  • Committer: Bazaar Package Importer
  • Author(s): Emilio Pozuelo Monfort
  • Date: 2009-03-10 23:47:50 UTC
  • mfrom: (1.2.55 upstream)
  • Revision ID: james.westby@ubuntu.com-20090310234750-lnvjgb81gggwyyd4
Tags: 1.4.26-0ubuntu1
* New upstream bugfix release (lp: #325750).
  - debian/patches/90_autoreconf: refreshed.
* debian/patches/notification_check_for_actions_support:
  - New patch backported from upstream r4468, check for actions support
    in notifications before using them (lp: #328606).

Show diffs side-by-side

added added

removed removed

Lines of Context:
323
323
}
324
324
 
325
325
void
 
326
on_allowflash_toggled (GtkToggleButton *togglebutton, gpointer user_data)
 
327
{
 
328
        conf_set_bool_value (ALLOW_FLASH, gtk_toggle_button_get_active (togglebutton));
 
329
}
 
330
 
 
331
void
326
332
on_socialsite_changed (GtkOptionMenu *optionmenu, gpointer user_data)
327
333
{
328
334
        social_set_site ((gchar *)user_data);
712
718
                /* set the javascript-disabled flag */
713
719
                widget = liferea_dialog_lookup(prefdialog, "disablejavascript");
714
720
                gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(widget), conf_get_bool_value(DISABLE_JAVASCRIPT));
 
721
                
 
722
                /* set the allow Flash flag */
 
723
                widget = liferea_dialog_lookup(prefdialog, "allowflash");
 
724
                gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(widget), conf_get_bool_value(ALLOW_FLASH));
715
725
 
716
726
                tmp = 0;
717
727
                configuredBrowser = conf_get_str_value(BROWSER_ID);