comparison pidgin/gtkprefs.c @ 21086:8c9aad9479c0

Removed request stuff - now on pidgin-request-ui-hint
author Gabriel Schulhof <nix@go-nix.ca>
date Wed, 10 Oct 2007 22:57:51 +0000
parents fdefa5eb46e2
children cab348e39751
comparison
equal deleted inserted replaced
21077:488796f5ba33 21086:8c9aad9479c0
639 } 639 }
640 640
641 static void 641 static void
642 add_theme_button_clicked_cb(GtkWidget *widget, gpointer null) 642 add_theme_button_clicked_cb(GtkWidget *widget, gpointer null)
643 { 643 {
644 purple_request_file_with_hint(NULL, _("Install Theme"), NULL, FALSE, 644 purple_request_file(NULL, _("Install Theme"), NULL, FALSE, (GCallback)request_theme_file_name_cb, NULL, NULL, NULL, NULL, NULL) ;
645 (GCallback)request_theme_file_name_cb, NULL, NULL, NULL, NULL, "preferences", NULL) ;
646 } 645 }
647 646
648 static void 647 static void
649 remove_theme_button_clicked_cb(GtkWidget *button, GtkTreeView *tv) 648 remove_theme_button_clicked_cb(GtkWidget *button, GtkTreeView *tv)
650 { 649 {
1623 g_free(pref); 1622 g_free(pref);
1624 1623
1625 if (*filename == '\0') 1624 if (*filename == '\0')
1626 filename = NULL; 1625 filename = NULL;
1627 1626
1628 purple_request_file_with_hint(prefs, _("Sound Selection"), filename, FALSE, 1627 purple_request_file(prefs, _("Sound Selection"), filename, FALSE,
1629 G_CALLBACK(sound_chosen_cb), NULL, 1628 G_CALLBACK(sound_chosen_cb), NULL,
1630 NULL, NULL, NULL, "preferences", 1629 NULL, NULL, NULL,
1631 GINT_TO_POINTER(sound_row_sel)); 1630 GINT_TO_POINTER(sound_row_sel));
1632 } 1631 }
1633 1632
1634 #ifdef USE_GSTREAMER 1633 #ifdef USE_GSTREAMER
1635 static gchar* prefs_sound_volume_format(GtkScale *scale, gdouble val) 1634 static gchar* prefs_sound_volume_format(GtkScale *scale, gdouble val)