]> de.git.xonotic.org Git - xonotic/netradiant.git/blobdiff - radiant/mainframe.cpp
* deactivated filter removal and readd with every g_qeglobals.d_savedinfo.exclude...
[xonotic/netradiant.git] / radiant / mainframe.cpp
index c1010f9fa1a50af9f4e3c6fab24c24c0cf17bfb4..d347d7b73227aee4b7497a32639d55f7722de151 100644 (file)
@@ -995,8 +995,10 @@ void MainFrame::create_main_menu (GtkWidget *window, GtkWidget *vbox)
   gtk_widget_hide (item);
   MRU_AddWidget (item, 3);
   menu_separator (menu);
-  create_menu_item_with_mnemonic (menu, "Check for GtkRadiant update (web)",
+  item = create_menu_item_with_mnemonic (menu, "Check for GtkRadiant update (web)",
     GTK_SIGNAL_FUNC (HandleCommand), ID_FILE_CHECKUPDATE);
+  // disable, the functionality is no longer available
+  gtk_widget_set_sensitive( item, FALSE );
   
   create_menu_item_with_mnemonic (menu, "E_xit",
                     GTK_SIGNAL_FUNC (HandleCommand), ID_FILE_EXIT);
@@ -7472,10 +7474,14 @@ void PerformFiltering ()
 {
   brush_t *brush;
 
+  // mattn - this should be removed - otherwise the filters from the 
+  // plugins are wiped away with each update
+#if 0
   // spog - deletes old filters list and creates new one when
   // g_qeglobals.d_savedinfo.exclude is updated
   g_qeglobals.d_savedinfo.filters = FilterListDelete(g_qeglobals.d_savedinfo.filters);
   g_qeglobals.d_savedinfo.filters = FilterUpdate(g_qeglobals.d_savedinfo.filters);
+#endif
 
   for ( brush = active_brushes.next; brush != &active_brushes; brush = brush->next )
     brush->bFiltered = FilterBrush( brush );