summaryrefslogtreecommitdiff
blob: 04ebafec44373f0ceedd575413d1cb0ebd97d9ec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
Index: frontend/gtkmm/src/Menus.cc
===================================================================
--- frontend/gtkmm/src/Menus.cc	(révision 1650)
+++ frontend/gtkmm/src/Menus.cc	(copie de travail)
@@ -461,7 +461,7 @@
 #endif
 }
 
-
+#ifdef HAVE_DISTRIBUTION
 void
 Menus::on_network_log_response(int response)
 {
@@ -476,6 +476,7 @@
   // done by gtkmm ??? delete network_log_dialog;
   network_log_dialog = NULL;
 }
+#endif
 
 void
 Menus::on_statistics_response(int response)
@@ -534,7 +535,11 @@
       on_menu_network_leave();
       break;
     case MENU_COMMAND_NETWORK_LOG:
+#ifdef HAVE_DISTRIBUTION
       on_menu_network_log(network_log_dialog == NULL);
+#else
+      on_menu_network_log(true);
+#endif
       break;
     case MENU_COMMAND_NETWORK_RECONNECT:
       on_menu_network_reconnect();
@@ -565,7 +570,12 @@
           ICore *core = CoreFactory::get_core();
 
           menus[i]->resync(core->get_operation_mode(),
+#ifdef HAVE_DISTRIBUTION
                            network_log_dialog != NULL);
+#else
+                           false);
+#endif
+
         }
     }