summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormonsta <[email protected]>2016-09-01 13:25:41 +0300
committermonsta <[email protected]>2016-09-01 13:25:41 +0300
commit38ffcb06b5abb35f9eb0f444819001a11af45d00 (patch)
tree06b65563af03886e855599b02bd3311ce563fe16 /src
parent7f66967ba8cdcd67ad90143bedfc5ece728b040c (diff)
downloadcaja-dropbox-38ffcb06b5abb35f9eb0f444819001a11af45d00.tar.bz2
caja-dropbox-38ffcb06b5abb35f9eb0f444819001a11af45d00.tar.xz
drop code that's unused since gnome 2 days
Diffstat (limited to 'src')
-rw-r--r--src/caja-dropbox.c8
-rw-r--r--src/caja-dropbox.h1
-rw-r--r--src/dropbox.c1
3 files changed, 0 insertions, 10 deletions
diff --git a/src/caja-dropbox.c b/src/caja-dropbox.c
index ef30e1e..e25de86 100644
--- a/src/caja-dropbox.c
+++ b/src/caja-dropbox.c
@@ -49,7 +49,6 @@
static char *emblems[] = {"dropbox-uptodate", "dropbox-syncing", "dropbox-unsyncable"};
gchar *DEFAULT_EMBLEM_PATHS[2] = { EMBLEMDIR , NULL };
-gboolean dropbox_use_caja_submenu_workaround;
gboolean dropbox_use_operation_in_progress_workaround;
static GType dropbox_type = 0;
@@ -596,13 +595,6 @@ caja_dropbox_parse_menu(gchar **options,
g_object_set_property (G_OBJECT(item), "sensitive", &sensitive);
}
- /* taken from caja-file-repairer (http://repairer.kldp.net/):
- * this code is a workaround for a bug of caja
- * See: http://bugzilla.gnome.org/show_bug.cgi?id=508878 */
- if (dropbox_use_caja_submenu_workaround) {
- toret = g_list_append(toret, item);
- }
-
g_object_unref(item);
g_string_free(new_action_string, TRUE);
ret++;
diff --git a/src/caja-dropbox.h b/src/caja-dropbox.h
index 95fd99e..0628e06 100644
--- a/src/caja-dropbox.h
+++ b/src/caja-dropbox.h
@@ -61,7 +61,6 @@ struct _CajaDropboxClass {
GType caja_dropbox_get_type(void);
void caja_dropbox_register_type(GTypeModule *module);
-extern gboolean dropbox_use_caja_submenu_workaround;
extern gboolean dropbox_use_operation_in_progress_workaround;
G_END_DECLS
diff --git a/src/dropbox.c b/src/dropbox.c
index cbb1d85..943bd8a 100644
--- a/src/dropbox.c
+++ b/src/dropbox.c
@@ -41,7 +41,6 @@ caja_module_initialize (GTypeModule *module) {
caja_dropbox_register_type (module);
type_list[0] = CAJA_TYPE_DROPBOX;
- dropbox_use_caja_submenu_workaround = FALSE;
dropbox_use_operation_in_progress_workaround = TRUE;
}