pidgin: 01217e4b: I thought I had done this in my last com...

rekkanoryo at pidgin.im rekkanoryo at pidgin.im
Mon Sep 20 11:51:31 EDT 2010


----------------------------------------------------------------------
Revision: 01217e4bdeb97f0a76dbe7224e96d04dcd01eafa
Parent:   8068ee886614d4155f78098e201dbe4e3207918e
Author:   rekkanoryo at pidgin.im
Date:     09/20/10 11:39:12
Branch:   im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/01217e4bdeb97f0a76dbe7224e96d04dcd01eafa

Changelog: 

I thought I had done this in my last commit.  Clearly I'm an idiot.  This fixes
all the references to the browser command pref to use the new pref name that I
created.  Refs #12024.

Changes against parent 8068ee886614d4155f78098e201dbe4e3207918e

  patched  pidgin/gtknotify.c
  patched  pidgin/gtkprefs.c

-------------- next part --------------
============================================================
--- pidgin/gtknotify.c	d5b4244a33fe352443699bbaef9a9984696e547d
+++ pidgin/gtknotify.c	bcb46456ab2251ad473829a09101f0a73deecfc6
@@ -1392,7 +1392,7 @@ pidgin_notify_uri(const char *uri)
 	{
 		const char *web_command;
 
-		web_command = purple_prefs_get_string(PIDGIN_PREFS_ROOT "/browsers/command");
+		web_command = purple_prefs_get_string(PIDGIN_PREFS_ROOT "/browsers/manual_command");
 
 		if (web_command == NULL || *web_command == '\0')
 		{
============================================================
--- pidgin/gtkprefs.c	1f0a951300bc43ffc1f4db354bc2b5a857ac9292
+++ pidgin/gtkprefs.c	fc9715835e8f63ebc1abf8e6c61ae9b108fb6d1d
@@ -1811,7 +1811,7 @@ manual_browser_set(GtkWidget *entry, Gdk
 {
 	const char *program = gtk_entry_get_text(GTK_ENTRY(entry));
 
-	purple_prefs_set_string(PIDGIN_PREFS_ROOT "/browsers/command", program);
+	purple_prefs_set_string(PIDGIN_PREFS_ROOT "/browsers/manual_command", program);
 
 	/* carry on normally */
 	return FALSE;
@@ -1968,7 +1968,7 @@ browser_page(void)
 
 		entry = gtk_entry_new();
 		gtk_entry_set_text(GTK_ENTRY(entry),
-						   purple_prefs_get_string(PIDGIN_PREFS_ROOT "/browsers/command"));
+						   purple_prefs_get_string(PIDGIN_PREFS_ROOT "/browsers/manual_command"));
 		g_signal_connect(G_OBJECT(entry), "focus-out-event",
 						 G_CALLBACK(manual_browser_set), NULL);
 		hbox = pidgin_add_widget_to_vbox(GTK_BOX(vbox), _("_Manual:\n(%s for URL)"), sg, entry, TRUE, NULL);


More information about the Commits mailing list