changeset 9005:230cf4032e3d

[gaim-migrate @ 9780] (21:30:42) SimGuy: LSchiere2: This patch adds widget names to a number of different imhtmls scattered around gaim committer: Tailor Script <tailor@pidgin.im>
author Luke Schierer <lschiere@pidgin.im>
date Sat, 22 May 2004 01:32:44 +0000
parents e8c3a1272672
children bffe8d1adb8b
files src/gtkconv.c src/gtklog.c src/gtknotify.c src/gtkrequest.c
diffstat 4 files changed, 10 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/src/gtkconv.c	Sat May 22 00:30:30 2004 +0000
+++ b/src/gtkconv.c	Sat May 22 01:32:44 2004 +0000
@@ -3587,7 +3587,7 @@
 
 	/* Setup gtkihmtml. */
 	gtkconv->imhtml = gtk_imhtml_new(NULL, NULL);
-	gtk_widget_set_name(gtkconv->imhtml, "gtkconv_imhtml");
+	gtk_widget_set_name(gtkconv->imhtml, "gaim_gtkconv_imhtml");
 	gtk_container_add(GTK_CONTAINER(gtkconv->sw), gtkconv->imhtml);
 
 	gtk_imhtml_show_comments(GTK_IMHTML(gtkconv->imhtml),
@@ -3722,7 +3722,7 @@
 	gtk_widget_show(sw);
 
 	gtkconv->entry = gtk_imhtml_new(NULL, NULL);
-	gtk_widget_set_name(gtkconv->entry, "gtkconv_entry");
+	gtk_widget_set_name(gtkconv->entry, "gaim_gtkconv_entry");
 	gtk_imhtml_smiley_shortcuts(GTK_IMHTML(gtkconv->entry),
 			gaim_prefs_get_bool("/gaim/gtk/conversations/smiley_shortcuts"));
 	gtk_imhtml_html_shortcuts(GTK_IMHTML(gtkconv->entry),
@@ -3809,7 +3809,7 @@
 	gtk_widget_show(gtkconv->sw);
 
 	gtkconv->imhtml = gtk_imhtml_new(NULL, NULL);
-	gtk_widget_set_name(gtkconv->imhtml, "gtkconv_imhtml");
+	gtk_widget_set_name(gtkconv->imhtml, "gaim_gtkconv_imhtml");
 	gtk_container_add(GTK_CONTAINER(gtkconv->sw), gtkconv->imhtml);
 
 	g_signal_connect_after(G_OBJECT(gtkconv->imhtml), "button_press_event",
@@ -3851,7 +3851,7 @@
 	gtk_widget_show(sw);
 
 	gtkconv->entry = gtk_imhtml_new(NULL, NULL);
-	gtk_widget_set_name(gtkconv->entry, "gtkconv_entry");
+	gtk_widget_set_name(gtkconv->entry, "gaim_gtkconv_entry");
 
 	gtk_imhtml_smiley_shortcuts(GTK_IMHTML(gtkconv->entry),
 			gaim_prefs_get_bool("/gaim/gtk/conversations/smiley_shortcuts"));
--- a/src/gtklog.c	Sat May 22 00:30:30 2004 +0000
+++ b/src/gtklog.c	Sat May 22 01:32:44 2004 +0000
@@ -316,6 +316,7 @@
 	gtk_scrolled_window_set_shadow_type(GTK_SCROLLED_WINDOW(sw), GTK_SHADOW_IN);
 	gtk_scrolled_window_set_policy(GTK_SCROLLED_WINDOW(sw), GTK_POLICY_NEVER, GTK_POLICY_ALWAYS);
 	lv->imhtml = gtk_imhtml_new(NULL, NULL);
+	gtk_widget_set_name(lv->imhtml, "gaim_gtklog_imhtml");
 	gtk_container_add(GTK_CONTAINER(sw), lv->imhtml);
 	gaim_setup_imhtml(lv->imhtml);
 	gtk_widget_set_size_request(lv->imhtml, 320, 200);
@@ -412,7 +413,7 @@
 	g_signal_connect (G_OBJECT (sel), "changed",
 			  G_CALLBACK (log_select_cb),
 			  syslog_viewer);
-		
+
 	/* Viewer ************/
 	vbox = gtk_vbox_new(FALSE, 6);
 	gtk_paned_add2(GTK_PANED(pane), vbox);
@@ -421,10 +422,11 @@
 	gtk_scrolled_window_set_shadow_type(GTK_SCROLLED_WINDOW(sw), GTK_SHADOW_IN);
 	gtk_scrolled_window_set_policy(GTK_SCROLLED_WINDOW(sw), GTK_POLICY_NEVER, GTK_POLICY_ALWAYS);
 	syslog_viewer->imhtml = gtk_imhtml_new(NULL, NULL);
+	gtk_widget_set_name(syslog_viewer->imhtml, "gaim_gtklog_imhtml");
 	gtk_container_add(GTK_CONTAINER(sw), syslog_viewer->imhtml);
 	gaim_setup_imhtml(syslog_viewer->imhtml);
 	gtk_widget_set_size_request(syslog_viewer->imhtml, 400, 200);
-		
+
 	/* Search box **********/
 	hbox = gtk_hbox_new(FALSE, 6);
 	gtk_box_pack_start(GTK_BOX(vbox), hbox, FALSE, FALSE, 0);
--- a/src/gtknotify.c	Sat May 22 00:30:30 2004 +0000
+++ b/src/gtknotify.c	Sat May 22 01:32:44 2004 +0000
@@ -348,6 +348,7 @@
 
 	/* Now build that gtkimhtml */
 	imhtml = gtk_imhtml_new(NULL, NULL);
+	gtk_widget_set_name(imhtml, "gaim_gtknotify_imhtml");
 	gtk_container_add(GTK_CONTAINER(sw), imhtml);
 	gtk_widget_show(imhtml);
 	gaim_setup_imhtml(imhtml);
--- a/src/gtkrequest.c	Sat May 22 00:30:30 2004 +0000
+++ b/src/gtkrequest.c	Sat May 22 01:32:44 2004 +0000
@@ -344,6 +344,7 @@
 
 		/* GtkIMHtml */
 		entry = gtk_imhtml_new(NULL, NULL);
+		gtk_widget_set_name(entry, "gaim_gtkrequest_imhtml");
 		gtk_imhtml_set_editable(GTK_IMHTML(entry), TRUE);
 
 		gtk_imhtml_smiley_shortcuts(GTK_IMHTML(entry), gaim_prefs_get_bool("/gaim/gtk/conversations/smiley_shortcuts"));