Don't make the "Location" label bold. Bug #372449.

2006-11-08  Christian Persch  <chpe@cvs.gnome.org>

	* gtk/gtkfilechooserdefault.c (browse_widgets_create): Don't make
	the "Location" label bold. Bug #372449.
This commit is contained in:
Christian Persch 2006-11-08 17:09:24 +00:00 committed by Christian Persch
parent d03d8e9e40
commit fc3b484688
2 changed files with 7 additions and 6 deletions

View File

@ -1,3 +1,8 @@
2006-11-08 Christian Persch <chpe@cvs.gnome.org>
* gtk/gtkfilechooserdefault.c (browse_widgets_create): Don't make
the "Location" label bold. Bug #372449.
2006-11-07 Carlos Garnacho <carlosg@gnome.org> 2006-11-07 Carlos Garnacho <carlosg@gnome.org>
* gtk/gtknotebook.c (gtk_notebook_calculate_tabs_allocation): make * gtk/gtknotebook.c (gtk_notebook_calculate_tabs_allocation): make

View File

@ -4610,7 +4610,6 @@ browse_widgets_create (GtkFileChooserDefault *impl)
GtkWidget *hpaned; GtkWidget *hpaned;
GtkWidget *widget; GtkWidget *widget;
GtkSizeGroup *size_group; GtkSizeGroup *size_group;
gchar *text;
/* size group is used by the [+][-] buttons and the filter combo */ /* size group is used by the [+][-] buttons and the filter combo */
size_group = gtk_size_group_new (GTK_SIZE_GROUP_VERTICAL); size_group = gtk_size_group_new (GTK_SIZE_GROUP_VERTICAL);
@ -4642,10 +4641,7 @@ browse_widgets_create (GtkFileChooserDefault *impl)
impl->location_entry_box = gtk_hbox_new (FALSE, 12); impl->location_entry_box = gtk_hbox_new (FALSE, 12);
gtk_box_pack_start (GTK_BOX (vbox), impl->location_entry_box, FALSE, FALSE, 0); gtk_box_pack_start (GTK_BOX (vbox), impl->location_entry_box, FALSE, FALSE, 0);
text = g_strconcat ("<b>", _("_Location:"), "</b>", NULL); impl->location_label = gtk_label_new_with_mnemonic (_("_Location:"));
impl->location_label = gtk_label_new_with_mnemonic (text);
g_free (text);
gtk_label_set_use_markup (GTK_LABEL (impl->location_label), TRUE);
gtk_widget_show (impl->location_label); gtk_widget_show (impl->location_label);
gtk_box_pack_start (GTK_BOX (impl->location_entry_box), impl->location_label, FALSE, FALSE, 0); gtk_box_pack_start (GTK_BOX (impl->location_entry_box), impl->location_label, FALSE, FALSE, 0);