push/pop the color map (e_shell_folder_title_bar_new): and the visual...

2001-01-15  JP Rosevear  <jpr@ximian.com>

	* e-shell-folder-title-bar.c (e_shell_folder_title_bar_new): push/pop
	the color map
	(e_shell_folder_title_bar_new): and the visual...

svn path=/trunk/; revision=7515
This commit is contained in:
JP Rosevear
2001-01-15 22:28:54 +00:00
committed by JP Rosevear
parent be1bca258a
commit 754e77948a
2 changed files with 4 additions and 1 deletions

View File

@ -2,6 +2,7 @@
* e-shell-folder-title-bar.c (e_shell_folder_title_bar_new): push/pop
the color map
(e_shell_folder_title_bar_new): and the visual...
2001-01-15 Iain Holmes <iain@ximian.com>

View File

@ -256,7 +256,7 @@ realize (GtkWidget *widget)
priv = folder_title_bar->priv;
pixmap = make_icon_pixmap (folder_title_bar, priv->icon);
priv->icon_widget = gnome_pixmap_new (pixmap, NULL);
priv->icon_widget = gtk_pixmap_new (pixmap, NULL);
gdk_pixmap_unref (pixmap);
gtk_widget_show (priv->icon_widget);
@ -419,7 +419,9 @@ e_shell_folder_title_bar_new (void)
EShellFolderTitleBar *new;
gtk_widget_push_colormap (gdk_rgb_get_cmap ());
gtk_widget_push_visual (gdk_rgb_get_visual ());
new = gtk_type_new (e_shell_folder_title_bar_get_type ());
gtk_widget_pop_visual ();
gtk_widget_pop_colormap ();
e_shell_folder_title_bar_construct (new);