aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGabriel Millaire <millaire.gabriel@gmail.com>2009-07-10 23:48:39 +0800
committerGabriel Millaire <millaire.gabriel@gmail.com>2009-07-10 23:48:39 +0800
commit3a3e74fe6ca8e99e11d54a1c43ec87cc2e6b02c4 (patch)
treed059269d873d0eab34cc4d59aec8d677459586ee
parent2a5d562c839106c2edacd58cbdc003e0aead635b (diff)
downloadgsoc2013-empathy-3a3e74fe6ca8e99e11d54a1c43ec87cc2e6b02c4.tar
gsoc2013-empathy-3a3e74fe6ca8e99e11d54a1c43ec87cc2e6b02c4.tar.gz
gsoc2013-empathy-3a3e74fe6ca8e99e11d54a1c43ec87cc2e6b02c4.tar.bz2
gsoc2013-empathy-3a3e74fe6ca8e99e11d54a1c43ec87cc2e6b02c4.tar.lz
gsoc2013-empathy-3a3e74fe6ca8e99e11d54a1c43ec87cc2e6b02c4.tar.xz
gsoc2013-empathy-3a3e74fe6ca8e99e11d54a1c43ec87cc2e6b02c4.tar.zst
gsoc2013-empathy-3a3e74fe6ca8e99e11d54a1c43ec87cc2e6b02c4.zip
Remove old code
-rw-r--r--src/empathy-preferences.c69
1 files changed, 0 insertions, 69 deletions
diff --git a/src/empathy-preferences.c b/src/empathy-preferences.c
index 3bfd7a69d..65c496547 100644
--- a/src/empathy-preferences.c
+++ b/src/empathy-preferences.c
@@ -903,78 +903,9 @@ preferences_radio_button_toggled_cb (GtkWidget *button,
empathy_conf_set_string (empathy_conf_get (), key, value);
}
-<<<<<<< HEAD:src/empathy-preferences.c
-=======
#endif
static void
-preferences_theme_adium_update_visibility (EmpathyPreferences *preferences,
- const gchar *name)
-{
- if (name && strcmp (name, "adium") == 0) {
- gtk_widget_show (preferences->hbox_adium_theme);
- } else {
- gtk_widget_hide (preferences->hbox_adium_theme);
- gtk_widget_hide (preferences->label_invalid_adium_theme);
- }
-}
-
-static void
-preferences_theme_adium_update_validity (EmpathyPreferences *preferences,
- const gchar *path)
-{
-#ifdef HAVE_WEBKIT
- if (empathy_adium_path_is_valid (path)) {
- gtk_widget_hide (preferences->label_invalid_adium_theme);
- } else {
- gtk_widget_show (preferences->label_invalid_adium_theme);
- }
-#endif
-}
-
-static void
-preferences_theme_adium_path_notify_cb (EmpathyConf *conf,
- const gchar *key,
- gpointer user_data)
-{
- EmpathyPreferences *preferences = user_data;
- GtkFileChooser *chooser;
- gchar *value;
- const gchar *path;
-
- if (!empathy_conf_get_string (conf, key, &value)) {
- return;
- }
-
- if (EMP_STR_EMPTY (value)) {
- path = g_get_home_dir ();
- } else {
- path = value;
- }
-
- chooser = GTK_FILE_CHOOSER (preferences->filechooserbutton_adium_theme);
- gtk_file_chooser_set_current_folder (chooser, path);
- preferences_theme_adium_update_validity (preferences, path);
- g_free (value);
-}
-
-static void
-preferences_theme_adium_file_set_cb (GtkFileChooser *chooser,
- EmpathyPreferences *preferences)
-{
- gchar *path;
-
- path = gtk_file_chooser_get_current_folder (chooser);
- empathy_conf_set_string (empathy_conf_get (),
- EMPATHY_PREFS_CHAT_ADIUM_PATH,
- path);
- preferences_theme_adium_update_validity (preferences, path);
-
- g_free (path);
-}
->>>>>>> Move Compact List and Sort Contacts from Preferences to View menu:src/empathy-preferences.c
-
-static void
preferences_theme_notify_cb (EmpathyConf *conf,
const gchar *key,
gpointer user_data)