gnome-control-center r8475 - in trunk/capplets/appearance: . data
- From: rodrigo svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-control-center r8475 - in trunk/capplets/appearance: . data
- Date: Mon, 11 Feb 2008 21:59:57 +0000 (GMT)
Author: rodrigo
Date: Mon Feb 11 21:59:56 2008
New Revision: 8475
URL: http://svn.gnome.org/viewvc/gnome-control-center?rev=8475&view=rev
Log:
2008-02-11 Matthias Clasen <mclasen redhat com>
Fixes bug #511306
* capplets/appearance/data/appearance.glade:
* capplets/appearance/appearance-font.c: remove useless (with
GIO-based Nautilus) 'Go to fonts folder' button.
Modified:
trunk/capplets/appearance/ChangeLog
trunk/capplets/appearance/appearance-font.c
trunk/capplets/appearance/data/appearance.glade
Modified: trunk/capplets/appearance/appearance-font.c
==============================================================================
--- trunk/capplets/appearance/appearance-font.c (original)
+++ trunk/capplets/appearance/appearance-font.c Mon Feb 11 21:59:56 2008
@@ -805,9 +805,6 @@
capplet_help (GTK_WINDOW (dialog),
"user-guide.xml",
"goscustdesk-38");
- } else if (response_id == 1) {
- /* "Go to font folder" was clicked */
- g_spawn_command_line_async ("nautilus --no-desktop fonts:///", NULL);
} else
gtk_widget_hide (GTK_WIDGET (dialog));
}
@@ -817,20 +814,11 @@
AppearanceData *data)
{
if (!data->font_details) {
- GnomeVFSURI *uri;
GtkAdjustment *adjustment;
GtkWidget *widget;
EnumGroup *group;
data->font_details = glade_xml_get_widget (data->xml, "render_details");
- uri = gnome_vfs_uri_new ("fonts:///");
- widget = glade_xml_get_widget (data->xml, "go_to_font_button");
- if (uri == NULL) {
- gtk_widget_hide (widget);
- } else {
- gnome_vfs_uri_unref (uri);
- gtk_widget_show (widget);
- }
gtk_window_set_transient_for (GTK_WINDOW (data->font_details),
GTK_WINDOW (glade_xml_get_widget (data->xml, "appearance_window")));
Modified: trunk/capplets/appearance/data/appearance.glade
==============================================================================
--- trunk/capplets/appearance/data/appearance.glade (original)
+++ trunk/capplets/appearance/data/appearance.glade Mon Feb 11 21:59:56 2008
@@ -619,19 +619,6 @@
</widget>
</child>
<child>
- <widget class="GtkButton" id="go_to_font_button">
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="can_default">True</property>
- <property name="label" translatable="yes">Go _to Fonts Folder</property>
- <property name="use_underline">True</property>
- <property name="response_id">1</property>
- </widget>
- <packing>
- <property name="position">1</property>
- </packing>
- </child>
- <child>
<widget class="GtkButton" id="button3">
<property name="visible">True</property>
<property name="can_focus">True</property>
@@ -641,7 +628,7 @@
<property name="response_id">-7</property>
</widget>
<packing>
- <property name="position">2</property>
+ <property name="position">1</property>
</packing>
</child>
</widget>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]