[latexila] Close fundraiser



commit 1661787240dd00fd5abd60b30577e45a95ae8c6c
Author: Sébastien Wilmet <swilmet gnome org>
Date:   Wed Jan 27 12:49:11 2016 +0100

    Close fundraiser
    
    The popup window is annoying for new potential users. And the fundraiser
    has anyway been closed. Ideally I would like to find a new maintainer of
    latexila.

 data/org.gnome.latexila.gschema.xml.in |   14 ---
 po/POTFILES.in                         |    1 -
 src/Makefile.am                        |    1 -
 src/finance.vala                       |  164 --------------------------------
 src/latexila_app.vala                  |    6 -
 src/main_window.vala                   |   10 --
 src/ui/menus.ui                        |    4 -
 src/ui/ui.xml                          |    1 -
 8 files changed, 0 insertions(+), 201 deletions(-)
---
diff --git a/data/org.gnome.latexila.gschema.xml.in b/data/org.gnome.latexila.gschema.xml.in
index 0a20cdc..1edbe29 100644
--- a/data/org.gnome.latexila.gschema.xml.in
+++ b/data/org.gnome.latexila.gschema.xml.in
@@ -185,7 +185,6 @@
 
   <schema id="org.gnome.latexila.state" path="/org/gnome/latexila/state/">
     <child schema="org.gnome.latexila.state.window" name="window" />
-    <child schema="org.gnome.latexila.state.dialogs" name="dialogs" />
   </schema>
 
   <schema id="org.gnome.latexila.state.window" path="/org/gnome/latexila/state/window/">
@@ -208,17 +207,4 @@
       <default>100</default>
     </key>
   </schema>
-
-  <schema id="org.gnome.latexila.state.dialogs" path="/org/gnome/latexila/state/dialogs/">
-    <child schema="org.gnome.latexila.state.dialogs.finance" name="finance" />
-  </schema>
-
-  <schema id="org.gnome.latexila.state.dialogs.finance" path="/org/gnome/latexila/state/dialogs/finance/">
-    <key name="last-shown-date" type="s">
-      <default>''</default>
-    </key>
-    <key name="remind-later" type="b">
-      <default>false</default>
-    </key>
-  </schema>
 </schemalist>
diff --git a/po/POTFILES.in b/po/POTFILES.in
index b07d176..e1d0063 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -22,7 +22,6 @@ src/document_view.vala
 src/encodings.vala
 src/error_entry.vala
 src/file_browser.vala
-src/finance.vala
 src/latexila_app.vala
 src/latex_menu.vala
 src/liblatexila/latexila-build-job.c
diff --git a/src/Makefile.am b/src/Makefile.am
index e649e5c..5a19f71 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -33,7 +33,6 @@ vala_files =                          \
        encodings.vala                  \
        error_entry.vala                \
        file_browser.vala               \
-       finance.vala                    \
        latexila_app.vala               \
        latex_menu.vala                 \
        main.vala                       \
diff --git a/src/latexila_app.vala b/src/latexila_app.vala
index 5451a5a..9a105ab 100644
--- a/src/latexila_app.vala
+++ b/src/latexila_app.vala
@@ -31,7 +31,6 @@ public class LatexilaApp : Gtk.Application
         { "preferences", preferences_cb },
         { "manage-build-tools", manage_build_tools_cb },
         { "help", help_cb },
-        { "fundraiser", fundraiser_cb },
         { "about", about_cb },
         { "quit", quit_cb }
     };
@@ -212,11 +211,6 @@ public class LatexilaApp : Gtk.Application
         }
     }
 
-    private void fundraiser_cb ()
-    {
-        Finance.show_dialog (get_active_main_window (), false);
-    }
-
     private void about_cb ()
     {
         string comments =
diff --git a/src/main_window.vala b/src/main_window.vala
index b0a9a3b..b3bea00 100644
--- a/src/main_window.vala
+++ b/src/main_window.vala
@@ -64,9 +64,6 @@ public class MainWindow : ApplicationWindow
             N_("Open the LaTeXila documentation"), on_help_contents },
         { "HelpLatexReference", null, N_("_LaTeX Reference"), null,
             N_("The Kile LaTeX Reference"), on_help_latex_reference },
-        { "HelpFinance", null, "LaTeXila _Fundraiser", null,
-            "Donate to demonstrate your appreciation of LaTeXila and help its future development",
-            on_help_finance },
         { "HelpAbout", "help-about", N_("_About"), null,
             N_("About LaTeXila"), on_about_dialog }
     };
@@ -270,8 +267,6 @@ public class MainWindow : ApplicationWindow
         restore_state ();
         show_or_hide_widgets ();
         show ();
-
-        Finance.show_dialog (this, true);
     }
 
     // Force to show icons in the menu.
@@ -1162,11 +1157,6 @@ public class MainWindow : ApplicationWindow
         }
     }
 
-    public void on_help_finance ()
-    {
-        LatexilaApp.get_instance ().activate_action ("fundraiser", null);
-    }
-
     public void on_about_dialog ()
     {
         LatexilaApp.get_instance ().activate_action ("about", null);
diff --git a/src/ui/menus.ui b/src/ui/menus.ui
index e0616c1..6155896 100644
--- a/src/ui/menus.ui
+++ b/src/ui/menus.ui
@@ -23,10 +23,6 @@
         <attribute name="action">app.help</attribute>
       </item>
       <item>
-        <attribute name="label" translatable="yes">LaTeXila _Fundraiser</attribute>
-        <attribute name="action">app.fundraiser</attribute>
-      </item>
-      <item>
         <attribute name="label" translatable="yes">_About</attribute>
         <attribute name="action">app.about</attribute>
       </item>
diff --git a/src/ui/ui.xml b/src/ui/ui.xml
index f0083d2..d2fcfe5 100644
--- a/src/ui/ui.xml
+++ b/src/ui/ui.xml
@@ -394,7 +394,6 @@ along with LaTeXila.  If not, see <http://www.gnu.org/licenses/>.
     <menu action="Help">
       <menuitem action="HelpContents" />
       <menuitem action="HelpLatexReference" />
-      <menuitem action="HelpFinance" />
       <menuitem action="HelpAbout" />
     </menu>
   </menubar>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]