diff options
author | Jasmine Hassan <[email protected]> | 2012-10-27 05:40:18 +0200 |
---|---|---|
committer | Jasmine Hassan <[email protected]> | 2012-11-16 09:45:51 +0200 |
commit | 1638bc87bac1eb0bcf842872767d4cc953153a4e (patch) | |
tree | e91b21eff7a9c8d6f81c1763ea196baa186d9438 /src/caja-connect-server-dialog-main.c | |
parent | 32ebe8fbfd23e8cae92c487f5c91eff60ec8ec99 (diff) | |
download | caja-1638bc87bac1eb0bcf842872767d4cc953153a4e.tar.bz2 caja-1638bc87bac1eb0bcf842872767d4cc953153a4e.tar.xz |
[connect-dialog] redesign the dialog
According to Allan Day's mockups.
http://git.gnome.org/browse/nautilus/commit/?id=7848e74d812c22299962a8ae22b01dbd403929c0
Diffstat (limited to 'src/caja-connect-server-dialog-main.c')
-rw-r--r-- | src/caja-connect-server-dialog-main.c | 23 |
1 files changed, 1 insertions, 22 deletions
diff --git a/src/caja-connect-server-dialog-main.c b/src/caja-connect-server-dialog-main.c index 44c57980..c73b0df4 100644 --- a/src/caja-connect-server-dialog-main.c +++ b/src/caja-connect-server-dialog-main.c @@ -171,20 +171,12 @@ main (int argc, char *argv[]) { GtkWidget *dialog; GOptionContext *context; - const char **args; - GFile *location; GError *error; - const GOptionEntry options[] = - { - { G_OPTION_REMAINING, 0, 0, G_OPTION_ARG_STRING_ARRAY, &args, NULL, N_("[URI]") }, - { NULL } - }; bindtextdomain (GETTEXT_PACKAGE, MATELOCALEDIR); bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8"); textdomain (GETTEXT_PACKAGE); - args = NULL; error = NULL; /* Translators: This is the --help description for the connect to server app, the initial newlines are between the command line arg and the description */ @@ -208,20 +200,7 @@ main (int argc, char *argv[]) gtk_window_set_default_icon_name (CAJA_ICON_FOLDER); - - /* command line arguments, null terminated array */ - location = NULL; - if (args) - { - location = g_file_new_for_commandline_arg (*args); - } - - dialog = caja_connect_server_dialog_new (NULL, location); - - if (location) - { - g_object_unref (location); - } + dialog = caja_connect_server_dialog_new (NULL); open_dialogs = 0; g_signal_connect (dialog, "destroy", |