diff options
Diffstat (limited to 'net/jags/files')
-rw-r--r-- | net/jags/files/patch-src_jagsabout.h | 9 | ||||
-rw-r--r-- | net/jags/files/patch-src_jagsmenubar.h | 26 | ||||
-rw-r--r-- | net/jags/files/patch-src_jagsmntswindow.h | 17 | ||||
-rw-r--r-- | net/jags/files/patch-src_jagsmountwith.h | 10 | ||||
-rw-r--r-- | net/jags/files/patch-src_jagsmountwithcommand.h | 10 | ||||
-rw-r--r-- | net/jags/files/patch-src_jagsprefsdialog.h | 13 | ||||
-rw-r--r-- | net/jags/files/patch-src_jagssearchdialog.h | 16 | ||||
-rw-r--r-- | net/jags/files/patch-src_mainwindow.cpp | 56 | ||||
-rw-r--r-- | net/jags/files/patch-src_mainwindow.h | 15 |
9 files changed, 0 insertions, 172 deletions
diff --git a/net/jags/files/patch-src_jagsabout.h b/net/jags/files/patch-src_jagsabout.h deleted file mode 100644 index 5fc8e81baaec..000000000000 --- a/net/jags/files/patch-src_jagsabout.h +++ /dev/null @@ -1,9 +0,0 @@ ---- ./src/jagsabout.h.orig 2003-09-04 23:14:54.000000000 +0200 -+++ ./src/jagsabout.h 2014-01-08 10:20:11.000000000 +0100 -@@ -42,4 +42,6 @@ - - }; - -+gint on_close(GtkWidget *widget, JagsAbout *about); -+ - #endif diff --git a/net/jags/files/patch-src_jagsmenubar.h b/net/jags/files/patch-src_jagsmenubar.h deleted file mode 100644 index fd053118316b..000000000000 --- a/net/jags/files/patch-src_jagsmenubar.h +++ /dev/null @@ -1,26 +0,0 @@ ---- ./src/jagsmenubar.h.orig 2003-09-04 23:14:54.000000000 +0200 -+++ ./src/jagsmenubar.h 2014-01-08 10:20:11.000000000 +0100 -@@ -105,4 +105,23 @@ - - }; - -+gint mount_and_browse(GtkMenuItem *item, JagsMenuBar *jmb); -+gint browse(GtkMenuItem *item, JagsMenuBar *jmb); -+gint mount(GtkMenuItem *item, JagsMenuBar *jmb); -+gint mount_with(GtkMenuItem *item, JagsMenuBar *jmb); -+gint mount_with_command(GtkMenuItem *item, JagsMenuBar *jmb); -+gint preferences(GtkMenuItem *item, JagsConfig *conf); -+gint about(GtkMenuItem *item, JagsMenuBar *jmb); -+gint my_search(GtkMenuItem *item, JagsMenuBar *jmb); -+gint umount(GtkMenuItem *item, JagsMenuBar *jmb); -+gint mnts_window(GtkMenuItem *item, JagsMenuBar *jmb); -+gint bookmark_menu(GtkMenuItem *item, JagsMenuBar *jmb); -+gint bookmark_add(GtkMenuItem *item, JagsMenuBar *jmb); -+gint bookmark_edit(GtkMenuItem *item, JagsMenuBar *jmb); -+gint bookmark_selected(GtkMenuItem *item, JagsMenuBar *jmb); -+gint bookmarks_add_edit(GtkMenuItem *item, JagsMenuBar *jmb); -+void bookmarks_radio_local_toggle (GtkWidget *widget, gpointer data); -+gint bookmarks_edit_add_close(GtkWidget *widget, gpointer data); -+gint bookmarks_edit_add_ok(GtkWidget *widget, gpointer data); -+ - #endif diff --git a/net/jags/files/patch-src_jagsmntswindow.h b/net/jags/files/patch-src_jagsmntswindow.h deleted file mode 100644 index 90b304f19198..000000000000 --- a/net/jags/files/patch-src_jagsmntswindow.h +++ /dev/null @@ -1,17 +0,0 @@ ---- ./src/jagsmntswindow.h.orig 2003-09-04 23:14:54.000000000 +0200 -+++ ./src/jagsmntswindow.h 2014-01-08 10:20:11.000000000 +0100 -@@ -64,4 +64,14 @@ - - }; - -+gint close_mntswindow(GtkWidget *widget, JagsMntsWindow *me); -+gint toggle_automount(GtkWidget *widget, JagsMntsWindow *me); -+gint unmount_share(GtkWidget *widget, JagsMntsWindow *me); -+gint mnts_browse(GtkWidget *widget, JagsMntsWindow *me); -+gint change_mnt_path(GtkWidget *widget, JagsMntsWindow *me); -+void selection_made(GtkWidget *, gint, gint, GdkEventButton *, -+ gpointer, JagsMntsWindow *); -+gint mw_button_press(GtkWidget *widget, GdkEventButton *event, -+ JagsMntsWindow *me); -+ - #endif diff --git a/net/jags/files/patch-src_jagsmountwith.h b/net/jags/files/patch-src_jagsmountwith.h deleted file mode 100644 index 6dc1977d22d3..000000000000 --- a/net/jags/files/patch-src_jagsmountwith.h +++ /dev/null @@ -1,10 +0,0 @@ ---- ./src/jagsmountwith.h.orig 2003-09-04 23:14:54.000000000 +0200 -+++ ./src/jagsmountwith.h 2014-01-08 10:20:11.000000000 +0100 -@@ -50,4 +50,7 @@ - void browse(void); - }; - -+gint on_mount_with_ok(GtkWidget *, JagsMountWith *); -+gint on_mount_with_cancel(GtkWidget *, JagsMountWith *); -+ - #endif diff --git a/net/jags/files/patch-src_jagsmountwithcommand.h b/net/jags/files/patch-src_jagsmountwithcommand.h deleted file mode 100644 index 02a5196b4f86..000000000000 --- a/net/jags/files/patch-src_jagsmountwithcommand.h +++ /dev/null @@ -1,10 +0,0 @@ ---- ./src/jagsmountwithcommand.h.orig 2003-09-04 23:14:54.000000000 +0200 -+++ ./src/jagsmountwithcommand.h 2014-01-08 10:20:11.000000000 +0100 -@@ -45,5 +45,7 @@ - ~JagsMountWithCommand(); - }; - -+gint on_mount_with_command_ok(GtkWidget *, JagsMountWithCommand *); -+gint on_mount_with_command_cancel(GtkWidget *, JagsMountWithCommand *); - - #endif diff --git a/net/jags/files/patch-src_jagsprefsdialog.h b/net/jags/files/patch-src_jagsprefsdialog.h deleted file mode 100644 index 9052e0ede661..000000000000 --- a/net/jags/files/patch-src_jagsprefsdialog.h +++ /dev/null @@ -1,13 +0,0 @@ ---- ./src/jagsprefsdialog.h.orig 2003-09-04 23:14:54.000000000 +0200 -+++ ./src/jagsprefsdialog.h 2014-01-08 10:20:11.000000000 +0100 -@@ -57,4 +57,10 @@ - ~JagsPrefsDialog(); - }; - -+gint onPluginsChanged(GtkWidget *, GdkEvent *, JagsPrefsDialog *pd); -+gint on_cancel(GtkWidget *widget, JagsConfig *conf); -+gint on_apply(GtkWidget *widget, JagsConfig *conf2); -+gint on_close(GtkWidget *widget, JagsConfig *conf); -+void on_toggle_sound(GtkWidget *widget, JagsConfig *conf); -+ - #endif diff --git a/net/jags/files/patch-src_jagssearchdialog.h b/net/jags/files/patch-src_jagssearchdialog.h deleted file mode 100644 index b0c76f0c0fb5..000000000000 --- a/net/jags/files/patch-src_jagssearchdialog.h +++ /dev/null @@ -1,16 +0,0 @@ ---- ./src/jagssearchdialog.h.orig 2003-09-04 23:14:54.000000000 +0200 -+++ ./src/jagssearchdialog.h 2014-01-08 10:20:11.000000000 +0100 -@@ -52,6 +52,13 @@ - void set_string(gchar *s); - }; - -+gint search_clicked(GtkWidget *widget, JagsSearchDialog *me); -+gint on_close(GtkWidget *widget, JagsSearchDialog *me); -+gint onn_collapse(GtkWidget *item, JagsSearchDialog *mw); -+gint expandd_server(GtkWidget *widget, JagsSearchDialog *mw); -+gint onn_share_selected(GtkTree *tree, GtkWidget *widget, gpointer data, JagsSearchDialog *mw); -+gint check_dd_click(GtkWidget *widget, GdkEventButton *event, JagsSearchDialog *mw); -+gint button_presss (GtkWidget *widget, GdkEventButton *event, JagsSearchDialog *mw); - - - #endif diff --git a/net/jags/files/patch-src_mainwindow.cpp b/net/jags/files/patch-src_mainwindow.cpp deleted file mode 100644 index 247f72712740..000000000000 --- a/net/jags/files/patch-src_mainwindow.cpp +++ /dev/null @@ -1,56 +0,0 @@ ---- ./src/mainwindow.cpp.orig 2003-09-04 23:14:54.000000000 +0200 -+++ ./src/mainwindow.cpp 2014-01-08 10:20:11.000000000 +0100 -@@ -299,6 +299,8 @@ - gchar *workgroup = NULL, *command = NULL, *comment = NULL, *comment2 = NULL; - gint h; - -+ if(!parent_tree) -+ return FALSE; - - if (GTK_TREE(parent_tree)->children) - gtk_tree_remove_items(GTK_TREE(parent_tree), -@@ -349,11 +351,15 @@ - - while (glist->next) { - //---get the string width in pixels---------------------------------- -- h = gdk_string_width(style->font, "DDDDDDDDDDDDDDDDD") - -- gdk_string_width(style->font, (gchar *)glist->next->data); -- h /= gdk_string_width(style->font, "D"); -+ if(style) { -+ h = gdk_string_width(style->font, "DDDDDDDDDDDDDDDDD") - -+ gdk_string_width(style->font, (gchar *)glist->next->data); -+ h /= gdk_string_width(style->font, "D"); -+ comment = g_strnfill(h, 0x20); -+ } else { -+ comment = NULL; -+ } - -- comment = g_strnfill(h, 0x20); - comment2 = g_strescape(g_strconcat((gchar *)glist->next->data, comment, - (gchar *)glist2->next->data, NULL)); - g_free(comment); -@@ -414,6 +420,9 @@ - gchar *ShareName = new gchar[100]; - gint h; - -+ if(!parent_tree) -+ return FALSE; -+ - /* Get the text on this treeitem into "workgroup" */ - item = GTK_TREE(parent_tree)->tree_owner; - server = g_strdup_printf("%s", gtk_tree_item_get_text(item)); -@@ -478,9 +487,11 @@ - while (glist->next) { - if (g_strncasecmp((gchar *)glist->next->data, "Error", 5)) { - g_strdup_printf(ShareName,"%s", (gchar *)glist->next->data); -- h = gdk_string_width(style->font, "DDDDDDDDDDDDDDDDDDD") - -- gdk_string_width(style->font, (gchar *)glist->next->data); -- h /= gdk_string_width(style->font, " "); -+ if (style) { -+ h = gdk_string_width(style->font, "DDDDDDDDDDDDDDDDDDD") - -+ gdk_string_width(style->font, (gchar *)glist->next->data); -+ h /= gdk_string_width(style->font, " "); -+ } - comment = g_strnfill(h, 0x20); - comment2 = g_strconcat((gchar *)glist->next->data, comment, - (gchar *)glist3->next->data, NULL); diff --git a/net/jags/files/patch-src_mainwindow.h b/net/jags/files/patch-src_mainwindow.h deleted file mode 100644 index def2783971fb..000000000000 --- a/net/jags/files/patch-src_mainwindow.h +++ /dev/null @@ -1,15 +0,0 @@ ---- ./src/mainwindow.h.orig 2003-09-04 23:14:54.000000000 +0200 -+++ ./src/mainwindow.h 2014-01-08 10:20:11.000000000 +0100 -@@ -59,5 +59,12 @@ - - gint on_collapse(GtkWidget *item, MainWindow *mw); - gint check_server_click(GtkWidget *widget, GdkEventButton *event, MainWindow *mw); -+gint expand_network(GtkWidget *widget, MainWindow *mw); -+gint expand_workgroup(GtkWidget *widget, MainWindow *mw); -+gint expand_server(GtkWidget *widget, GtkTree *root_tree); -+gint on_share_selected(GtkTree *tree, GtkWidget *widget, gpointer data); -+gint on_workgroup_selected(GtkTree *tree, GtkWidget *widget, GtkTree *root_tree); -+gint check_d_click(GtkWidget *widget, GdkEventButton *event, MainWindow *mw); -+gint button_press(GtkWidget *, GdkEventButton *, MainWindow *mw); - - #endif |