Remove ellipsis after "Go to theme folder".

2002-05-10  Anders Carlsson  <andersca@gnu.org>

	* theme-properties.glade:
	Remove ellipsis after "Go to theme folder".

	* theme-switcher.c: (show_manage_themes):
	Create the .themes directory if it doesn't exist.
This commit is contained in:
Anders Carlsson 2002-05-10 19:44:43 +00:00 committed by Anders Carlsson
parent 760753c7b1
commit c20bc638f0
3 changed files with 36 additions and 35 deletions

View file

@ -1,3 +1,19 @@
2002-05-10 Anders Carlsson <andersca@gnu.org>
* theme-properties.glade:
Remove ellipsis after "Go to theme folder".
* theme-switcher.c: (show_manage_themes):
Create the .themes directory if it doesn't exist.
2002-05-10 Anders Carlsson <andersca@gnu.org>
* theme-properties.glade:
Remove ellipsis after "Go to theme folder".
* theme-switcher.c: (show_manage_themes):
Create the .themes directory if it doesn't exist.
2002-05-08 Jody Goldberg <jody@gnome.org>
* theme-switcher.c (cb_dialog_response) : new.

View file

@ -101,7 +101,7 @@
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="headers_visible">False</property>
<property name="rules_hint">True</property>
<property name="rules_hint">False</property>
<property name="reorderable">False</property>
<property name="enable_search">True</property>
</widget>
@ -124,23 +124,9 @@
<widget class="GtkButton" id="install_button">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="label" translatable="yes">_Install new theme...</property>
<property name="use_underline">True</property>
<property name="relief">GTK_RELIEF_NORMAL</property>
<child>
<widget class="GtkLabel" id="label6">
<property name="visible">True</property>
<property name="label" translatable="yes">_Install new theme...</property>
<property name="use_underline">True</property>
<property name="use_markup">False</property>
<property name="justify">GTK_JUSTIFY_LEFT</property>
<property name="wrap">False</property>
<property name="selectable">False</property>
<property name="xalign">0</property>
<property name="yalign">0.5</property>
<property name="xpad">4</property>
<property name="ypad">0</property>
</widget>
</child>
</widget>
<packing>
<property name="padding">0</property>
@ -153,23 +139,9 @@
<widget class="GtkButton" id="manage_button">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="label" translatable="yes">_Go to theme folder</property>
<property name="use_underline">True</property>
<property name="relief">GTK_RELIEF_NORMAL</property>
<child>
<widget class="GtkLabel" id="label5">
<property name="visible">True</property>
<property name="label" translatable="yes">_Go to theme folder...</property>
<property name="use_underline">True</property>
<property name="use_markup">False</property>
<property name="justify">GTK_JUSTIFY_LEFT</property>
<property name="wrap">False</property>
<property name="selectable">False</property>
<property name="xalign">0</property>
<property name="yalign">0.5</property>
<property name="xpad">4</property>
<property name="ypad">0</property>
</widget>
</child>
</widget>
<packing>
<property name="padding">0</property>

View file

@ -268,8 +268,21 @@ show_install_dialog (GtkWidget *button, gpointer data)
static void
show_manage_themes (GtkWidget *button, gpointer data)
{
gchar *command = g_strdup_printf ("nautilus --no-desktop %s/.themes",
g_get_home_dir ());
gchar *path, *command;
GnomeVFSURI *uri;
path = g_strdup_printf ("%s/.themes", g_get_home_dir ());
uri = gnome_vfs_uri_new (path);
if (!gnome_vfs_uri_exists (uri)) {
/* Create the directory */
gnome_vfs_make_directory_for_uri (uri, 775);
}
gnome_vfs_uri_unref (uri);
command = g_strdup_printf ("nautilus --no-desktop %s", path);
g_free (path);
g_spawn_command_line_async (command, NULL);
g_free (command);
}