[Goodies-commits] r6396 - in sion/trunk: . src

Enrico Troeger enrico at xfce.org
Fri Jan 2 17:45:53 CET 2009


Author: enrico
Date: 2009-01-02 16:45:53 +0000 (Fri, 02 Jan 2009)
New Revision: 6396

Modified:
   sion/trunk/ChangeLog
   sion/trunk/src/bookmarkeditdialog.c
   sion/trunk/src/window.c
Log:
Fix a few strings.

Modified: sion/trunk/ChangeLog
===================================================================
--- sion/trunk/ChangeLog	2009-01-02 16:45:47 UTC (rev 6395)
+++ sion/trunk/ChangeLog	2009-01-02 16:45:53 UTC (rev 6396)
@@ -2,6 +2,8 @@
 
  * src/compath.c, src/compat.h:
    Add sion_toolbar_set_orientation().
+ * src/bookmarkeditdialog.c, src/window.c:
+   Fix a few strings.
 
 
 2008-12-30  Enrico Tröger  <enrico(at)xfce(dot)org>

Modified: sion/trunk/src/bookmarkeditdialog.c
===================================================================
--- sion/trunk/src/bookmarkeditdialog.c	2009-01-02 16:45:47 UTC (rev 6395)
+++ sion/trunk/src/bookmarkeditdialog.c	2009-01-02 16:45:53 UTC (rev 6396)
@@ -221,7 +221,7 @@
 				{
 					error = TRUE;
 					sion_error_dialog((gpointer)dialog,
-						_("You must enter a valid URI for the service."), NULL);
+						_("You must enter a valid URI for the connection."), NULL);
 				}
 			}
 			if (! error)
@@ -684,6 +684,7 @@
 static void sion_bookmark_edit_dialog_init(SionBookmarkEditDialog *dialog)
 {
 	GtkWidget *label;
+	GtkWidget *label_tmp;
 	GtkWidget *table;
 	GtkWidget *combo;
 	GtkWidget *entry;
@@ -728,8 +729,8 @@
 	priv->type_combo = combo = gtk_combo_box_new();
 	gtk_table_attach(GTK_TABLE(table), combo, 1, 2, 1, 2, GTK_FILL | GTK_EXPAND, GTK_FILL, 0, 0);
 
-	label = gtk_label_new(" ");
-	gtk_table_attach(GTK_TABLE(table), label, 0, 2, 2, 3, GTK_FILL | GTK_EXPAND, GTK_FILL, 0, 0);
+	label_tmp = gtk_label_new(" ");
+	gtk_table_attach(GTK_TABLE(table), label_tmp, 0, 2, 2, 3, GTK_FILL | GTK_EXPAND, GTK_FILL, 0, 0);
 
 	renderer = gtk_cell_renderer_text_new();
 	gtk_cell_layout_pack_start(GTK_CELL_LAYOUT(combo), renderer, TRUE);
@@ -744,7 +745,7 @@
 	priv->server_entry = gtk_entry_new();
 	priv->port_spin = gtk_spin_button_new_with_range(0, 65535, 1);
 	gtk_spin_button_set_value(GTK_SPIN_BUTTON(priv->port_spin), 0.0);
-	gtk_widget_set_tooltip_text(priv->port_spin, _("Set the port to 0 to use the default port."));
+	gtk_widget_set_tooltip_text(priv->port_spin, _("Set the port to 0 to use the default port"));
 	priv->user_entry = gtk_entry_new();
 	priv->domain_entry = gtk_entry_new();
 	priv->share_entry = gtk_entry_new();

Modified: sion/trunk/src/window.c
===================================================================
--- sion/trunk/src/window.c	2009-01-02 16:45:47 UTC (rev 6395)
+++ sion/trunk/src/window.c	2009-01-02 16:45:53 UTC (rev 6396)
@@ -367,10 +367,12 @@
 	gtk_about_dialog_set_url_hook(about_activate_link, NULL, NULL);
 	gtk_show_about_dialog(GTK_WINDOW(window),
 		"authors", authors,
+		"logo-icon-name", sion_window_get_icon_name(),
 		"comments", "A simple frontend to easily connect to remote filesystems",
 		"copyright", "Copyright 2008-2009 Enrico Tröger",
 		"website", "http://www.uvena.de/sion/",
 		"version", VERSION,
+		"translator-credits", _("translator-credits"),
 		"license",  "Copyright 2008-2009 Enrico Tröger <enrico at xfce.org>\n\n"
 					"This program is free software; you can redistribute it and/or modify\n"
 					"it under the terms of the GNU General Public License as published by\n"
@@ -425,6 +427,7 @@
 			g_free(file_manager);
 			g_free(uri);
 #else
+/*
 			GFile *file = g_mount_get_root(mnt);
 			gchar *path = g_file_get_path(file);
 
@@ -448,6 +451,7 @@
 				verbose("Non-local mountpoints can't be opened.");
 			}
 			g_object_unref(file);
+*/
 #endif
 		}
 	}
@@ -809,7 +813,7 @@
 {
 	SionWindowPrivate *priv = SION_WINDOW_GET_PRIVATE(window);
 
-	gtk_toolbar_set_orientation(GTK_TOOLBAR(priv->toolbar), orientation);
+	sion_toolbar_set_orientation(GTK_TOOLBAR(priv->toolbar), orientation);
 	if (orientation == GTK_ORIENTATION_HORIZONTAL && priv->vbox != gtk_widget_get_parent(priv->toolbar))
 	{
 		gtk_container_remove(GTK_CONTAINER(priv->hbox), priv->toolbar);




More information about the Goodies-commits mailing list