gnome-commander r1640 - branches/gcmd-1-3/src
- From: epiotr svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-commander r1640 - branches/gcmd-1-3/src
- Date: Thu, 13 Mar 2008 17:18:19 +0000 (GMT)
Author: epiotr
Date: Thu Mar 13 17:18:19 2008
New Revision: 1640
URL: http://svn.gnome.org/viewvc/gnome-commander?rev=1640&view=rev
Log:
Code cleanup
Modified:
branches/gcmd-1-3/src/gnome-cmd-con-dialog.cc
branches/gcmd-1-3/src/gnome-cmd-user-actions.cc
Modified: branches/gcmd-1-3/src/gnome-cmd-con-dialog.cc
==============================================================================
--- branches/gcmd-1-3/src/gnome-cmd-con-dialog.cc (original)
+++ branches/gcmd-1-3/src/gnome-cmd-con-dialog.cc Thu Mar 13 17:18:19 2008
@@ -581,7 +581,7 @@
{
g_return_val_if_fail (server != NULL, FALSE);
- GtkWidget *dialog = (GtkWidget *) gtk_type_new (gnome_cmd_connect_dialog_get_type ());
+ GtkWidget *dialog = gtk_widget_new (GNOME_CMD_TYPE_CONNECT_DIALOG, NULL);
g_return_val_if_fail (dialog != NULL, FALSE);
Modified: branches/gcmd-1-3/src/gnome-cmd-user-actions.cc
==============================================================================
--- branches/gcmd-1-3/src/gnome-cmd-user-actions.cc (original)
+++ branches/gcmd-1-3/src/gnome-cmd-user-actions.cc Thu Mar 13 17:18:19 2008
@@ -182,11 +182,11 @@
{view_first, "view.first", NN_("Go back to the first directory")},
{view_forward, "view.forward", NN_("Go forward one directory")},
{view_home, "view.home", NN_("Home directory")},
- {view_in_active_pane, "view.in_active_pane", NN_("")},
- {view_in_inactive_pane, "view.in_inactive_pane", NN_("")},
- {view_in_left_pane, "view.in_left_pane", NN_("")},
- {view_in_right_pane, "view.in_right_pane", NN_("")},
- {view_last, "view.last", NN_("")},
+ {view_in_active_pane, "view.in_active_pane", NN_("view.in_active_pane")},
+ {view_in_inactive_pane, "view.in_inactive_pane", NN_("view.in_inactive_pane")},
+ {view_in_left_pane, "view.in_left_pane", NN_("view.in_left_pane")},
+ {view_in_right_pane, "view.in_right_pane", NN_("view.in_right_pane")},
+ {view_last, "view.last", NN_("view.last")},
{view_refresh, "view.refresh", NN_("Refresh")},
{view_root, "view.root", NN_("Root directory")},
{view_up, "view.up", NN_("Up one directory")},
@@ -1339,19 +1339,19 @@
gchar *license_trans = g_strjoin ("\n\n", _(license[0]), _(license[1]), _(license[2]), NULL);
gtk_show_about_dialog (GTK_WINDOW (main_win),
- "name", "GNOME Commander",
- "version", VERSION,
- "comments", _(comments),
- "copyright", copyright,
- "license", license_trans,
- "wrap-license", TRUE,
- "authors", authors,
- "documenters", documenters,
- "logo-icon-name", PACKAGE_NAME,
- "translator-credits", _("translator-credits"),
- "website", "http://www.nongnu.org/gcmd",
- "website-label", "GNOME Commander Website",
- NULL);
+ "name", "GNOME Commander",
+ "version", VERSION,
+ "comments", _(comments),
+ "copyright", copyright,
+ "license", license_trans,
+ "wrap-license", TRUE,
+ "authors", authors,
+ "documenters", documenters,
+ "logo-icon-name", PACKAGE_NAME,
+ "translator-credits", _("translator-credits"),
+ "website", "http://www.nongnu.org/gcmd",
+ "website-label", "GNOME Commander Website",
+ NULL);
g_free (license_trans);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]