From 312ba610a1e98fc656fb58178227d7d45a64494e Mon Sep 17 00:00:00 2001 From: Perberos Date: Mon, 14 Nov 2011 18:24:48 -0300 Subject: initial --- invest-applet/data/Invest_Applet.server.in.in | 25 + invest-applet/data/Invest_Applet.xml | 10 + invest-applet/data/MATE_GtikApplet.server | 18 + invest-applet/data/Makefile.am | 58 ++ invest-applet/data/art/Makefile.am | 59 ++ invest-applet/data/art/invest-16_neutral.png | Bin 0 -> 593 bytes invest-applet/data/art/invest-22_down.png | Bin 0 -> 834 bytes invest-applet/data/art/invest-22_neutral.png | Bin 0 -> 757 bytes invest-applet/data/art/invest-22_up.png | Bin 0 -> 795 bytes invest-applet/data/art/invest-applet.16.png | Bin 0 -> 566 bytes invest-applet/data/art/invest-applet.22.png | Bin 0 -> 795 bytes invest-applet/data/art/invest-applet.48.png | Bin 0 -> 1864 bytes invest-applet/data/art/invest-applet.svg | 380 +++++++++ invest-applet/data/art/invest_down.svg | 481 ++++++++++++ invest-applet/data/art/invest_neutral.svg | 540 +++++++++++++ invest-applet/data/art/invest_up.svg | 380 +++++++++ invest-applet/data/financialchart.ui | 1021 +++++++++++++++++++++++++ invest-applet/data/prefs-dialog.ui | 236 ++++++ 18 files changed, 3208 insertions(+) create mode 100644 invest-applet/data/Invest_Applet.server.in.in create mode 100644 invest-applet/data/Invest_Applet.xml create mode 100644 invest-applet/data/MATE_GtikApplet.server create mode 100644 invest-applet/data/Makefile.am create mode 100644 invest-applet/data/art/Makefile.am create mode 100644 invest-applet/data/art/invest-16_neutral.png create mode 100644 invest-applet/data/art/invest-22_down.png create mode 100644 invest-applet/data/art/invest-22_neutral.png create mode 100644 invest-applet/data/art/invest-22_up.png create mode 100644 invest-applet/data/art/invest-applet.16.png create mode 100644 invest-applet/data/art/invest-applet.22.png create mode 100644 invest-applet/data/art/invest-applet.48.png create mode 100644 invest-applet/data/art/invest-applet.svg create mode 100644 invest-applet/data/art/invest_down.svg create mode 100644 invest-applet/data/art/invest_neutral.svg create mode 100644 invest-applet/data/art/invest_up.svg create mode 100644 invest-applet/data/financialchart.ui create mode 100644 invest-applet/data/prefs-dialog.ui (limited to 'invest-applet/data') diff --git a/invest-applet/data/Invest_Applet.server.in.in b/invest-applet/data/Invest_Applet.server.in.in new file mode 100644 index 00000000..b2861c28 --- /dev/null +++ b/invest-applet/data/Invest_Applet.server.in.in @@ -0,0 +1,25 @@ + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/invest-applet/data/Invest_Applet.xml b/invest-applet/data/Invest_Applet.xml new file mode 100644 index 00000000..832f6b83 --- /dev/null +++ b/invest-applet/data/Invest_Applet.xml @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/invest-applet/data/MATE_GtikApplet.server b/invest-applet/data/MATE_GtikApplet.server new file mode 100644 index 00000000..73f0717b --- /dev/null +++ b/invest-applet/data/MATE_GtikApplet.server @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + diff --git a/invest-applet/data/Makefile.am b/invest-applet/data/Makefile.am new file mode 100644 index 00000000..e304109a --- /dev/null +++ b/invest-applet/data/Makefile.am @@ -0,0 +1,58 @@ +SUBDIRS = art + +# ****************************************************************************** +# Panel applet matecomponent stuff +# ****************************************************************************** +serverdir = $(libdir)/matecomponent/servers +server_in_files = Invest_Applet.server.in +server_DATA = \ + $(server_in_files:.server.in=.server) \ + MATE_GtikApplet.server + +# ****************************************************************************** +# MateConf Schemas +# ****************************************************************************** +# MateConf Preference Schemas +#schemadir = $(MATECONF_SCHEMA_FILE_DIR) +#schema_in_files = deskbar-applet.schemas.in +#schema_DATA = $(schema_in_files:.schemas.in=.schemas) + +# ****************************************************************************** +# Misc data +# ****************************************************************************** +uidir = $(datadir)/mate-2.0/ui +ui_DATA = \ + Invest_Applet.xml +builder_DATA = \ + prefs-dialog.ui \ + financialchart.ui + +investbindir = $(libdir)/invest-applet + +# ****************************************************************************** +# Build rules +# ****************************************************************************** +@INTLTOOL_SERVER_RULE@ +@INTLTOOL_SCHEMAS_RULE@ + +$(server_in_files): $(server_in_files:.server.in=.server.in.in) + sed -e "s|\@LIBEXECDIR\@|$(libexecdir)|" $< > $@ + +#if MATECONF_SCHEMAS_INSTALL +#install-data-local: install-schemas +#install-schemas: +# MATECONF_CONFIG_SOURCE=$(MATECONF_SCHEMA_CONFIG_SOURCE) \ +# $(MATECONFTOOL) --makefile-install-rule $(schema_DATA) +#endif + +DISTCLEANFILES = \ + $(server_in_files) \ + $(server_in_files:.server.in=.server) + +EXTRA_DIST = \ + Invest_Applet.server.in.in \ + MATE_GtikApplet.server \ + $(ui_DATA) \ + $(builder_DATA) + +-include $(top_srcdir)/git.mk diff --git a/invest-applet/data/art/Makefile.am b/invest-applet/data/art/Makefile.am new file mode 100644 index 00000000..7f304f4a --- /dev/null +++ b/invest-applet/data/art/Makefile.am @@ -0,0 +1,59 @@ +# ****************************************************************************** +# Images and icon +# ****************************************************************************** +icons = invest-applet.16.png invest-applet.22.png invest-applet.48.png invest-applet.svg + +artdir = $(pkgdatadir)/invest-applet +art_DATA = invest-16_neutral.png invest-22_neutral.png invest_neutral.svg \ + invest-22_up.png invest_up.svg \ + invest-22_down.png invest_down.svg + +gtk_update_icon_cache = gtk-update-icon-cache -f -t $(datadir)/icons/hicolor + +uninstall-local: + for icon in $(icons); do \ + SIZE=`echo $$icon | cut -d. -f2`; \ + FILE=`echo $$icon | cut -d. -f1,3`; \ + if [ "$$SIZE" = "svg" ]; then \ + SIZE="scalable"; \ + FILE="$$FILE.svg"; \ + else \ + SIZE="$${SIZE}x$${SIZE}"; \ + fi; \ + rm -f $(DESTDIR)$(iconsdir)/hicolor/$$SIZE/apps/$$FILE; \ + done + @-if test -z "$(DESTDIR)"; then \ + echo "Updating Gtk icon cache."; \ + $(gtk_update_icon_cache); \ + else \ + echo "*** Icon cache not updated. After install, run this:"; \ + echo "*** $(gtk_update_icon_cache)"; \ + fi + +install-data-local: + for icon in $(icons); do \ + SIZE=`echo $$icon | cut -d. -f2`; \ + FILE=`echo $$icon | cut -d. -f1,3`; \ + if [ "$$SIZE" = "svg" ]; then \ + SIZE="scalable"; \ + FILE="$$FILE.svg"; \ + else \ + SIZE="$${SIZE}x$${SIZE}"; \ + fi; \ + mkdir -p $(DESTDIR)$(iconsdir)/hicolor/$$SIZE/apps/; \ + $(INSTALL_DATA) $(srcdir)/$$icon $(DESTDIR)$(iconsdir)/hicolor/$$SIZE/apps/$$FILE; \ + done + @-if test -z "$(DESTDIR)"; then \ + echo "Updating Gtk icon cache."; \ + $(gtk_update_icon_cache); \ + else \ + echo "*** Icon cache not updated. After install, run this:"; \ + echo "*** $(gtk_update_icon_cache)"; \ + fi + +EXTRA_DIST = \ + $(icons) \ + $(art_DATA) + + +-include $(top_srcdir)/git.mk diff --git a/invest-applet/data/art/invest-16_neutral.png b/invest-applet/data/art/invest-16_neutral.png new file mode 100644 index 00000000..de34fb6c Binary files /dev/null and b/invest-applet/data/art/invest-16_neutral.png differ diff --git a/invest-applet/data/art/invest-22_down.png b/invest-applet/data/art/invest-22_down.png new file mode 100644 index 00000000..8c298fce Binary files /dev/null and b/invest-applet/data/art/invest-22_down.png differ diff --git a/invest-applet/data/art/invest-22_neutral.png b/invest-applet/data/art/invest-22_neutral.png new file mode 100644 index 00000000..1b4d316b Binary files /dev/null and b/invest-applet/data/art/invest-22_neutral.png differ diff --git a/invest-applet/data/art/invest-22_up.png b/invest-applet/data/art/invest-22_up.png new file mode 100644 index 00000000..eba0caff Binary files /dev/null and b/invest-applet/data/art/invest-22_up.png differ diff --git a/invest-applet/data/art/invest-applet.16.png b/invest-applet/data/art/invest-applet.16.png new file mode 100644 index 00000000..c5d6f815 Binary files /dev/null and b/invest-applet/data/art/invest-applet.16.png differ diff --git a/invest-applet/data/art/invest-applet.22.png b/invest-applet/data/art/invest-applet.22.png new file mode 100644 index 00000000..eba0caff Binary files /dev/null and b/invest-applet/data/art/invest-applet.22.png differ diff --git a/invest-applet/data/art/invest-applet.48.png b/invest-applet/data/art/invest-applet.48.png new file mode 100644 index 00000000..14e2f9ec Binary files /dev/null and b/invest-applet/data/art/invest-applet.48.png differ diff --git a/invest-applet/data/art/invest-applet.svg b/invest-applet/data/art/invest-applet.svg new file mode 100644 index 00000000..b5808216 --- /dev/null +++ b/invest-applet/data/art/invest-applet.svg @@ -0,0 +1,380 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + Invest + + + Vinicius Depizzol <vdepizzol@gmail.com> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/invest-applet/data/art/invest_down.svg b/invest-applet/data/art/invest_down.svg new file mode 100644 index 00000000..b6360e81 --- /dev/null +++ b/invest-applet/data/art/invest_down.svg @@ -0,0 +1,481 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + Invest + + + Vinicius Depizzol <vdepizzol@gmail.com> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/invest-applet/data/art/invest_neutral.svg b/invest-applet/data/art/invest_neutral.svg new file mode 100644 index 00000000..f0e26537 --- /dev/null +++ b/invest-applet/data/art/invest_neutral.svg @@ -0,0 +1,540 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + Invest + + + Vinicius Depizzol <vdepizzol@gmail.com> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/invest-applet/data/art/invest_up.svg b/invest-applet/data/art/invest_up.svg new file mode 100644 index 00000000..b5808216 --- /dev/null +++ b/invest-applet/data/art/invest_up.svg @@ -0,0 +1,380 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + Invest + + + Vinicius Depizzol <vdepizzol@gmail.com> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/invest-applet/data/financialchart.ui b/invest-applet/data/financialchart.ui new file mode 100644 index 00000000..1de0f38d --- /dev/null +++ b/invest-applet/data/financialchart.ui @@ -0,0 +1,1021 @@ + + + + + + + + + + Today + + + 5 Days + + + 3 Months + + + 6 Months + + + 1 Year + + + 5 Years + + + Maximum + + + + + + + + + + l + + + b + + + c + + + + + 6 + True + Financial Chart + GTK_WINDOW_TOPLEVEL + GTK_WIN_POS_CENTER + False + 500 + True + True + stock_chart + True + False + False + GDK_WINDOW_TYPE_HINT_NORMAL + GDK_GRAVITY_NORTH_WEST + True + False + + + True + False + 6 + + + True + False + 6 + + + True + _Ticker symbol: + True + False + GTK_JUSTIFY_LEFT + False + False + 0.5 + 0.5 + 0 + 0 + s + PANGO_ELLIPSIZE_NONE + -1 + False + 0 + + + 0 + False + False + + + + + True + True + True + True + True + 0 + + True + * + False + + + 0 + True + True + + + + + True + True + GTK_RELIEF_NORMAL + True + True + False + True + + + True + 0.5 + 0.5 + 0 + 0 + 0 + 0 + 0 + 0 + + + True + False + 2 + + + True + gtk-refresh + 4 + 0.5 + 0.5 + 0 + 0 + + + 0 + False + False + + + + + True + Auto _refresh + True + False + GTK_JUSTIFY_LEFT + False + False + 0.5 + 0.5 + 0 + 0 + PANGO_ELLIPSIZE_NONE + -1 + False + 0 + + + 0 + False + False + + + + + + + + + 0 + False + False + + + + + True + False + True + model1 + + + + 0 + + + + + 0 + False + False + + + + + 0 + False + False + + + + + True + True + False + 6 + + + True + 5 + 2 + False + 6 + 6 + + + True + _Graph style: + True + False + GTK_JUSTIFY_LEFT + False + False + 1 + 0.5 + 0 + 0 + q + PANGO_ELLIPSIZE_NONE + -1 + False + 0 + + + 0 + 1 + 0 + 1 + fill + + + + + + True + Moving average: + False + False + GTK_JUSTIFY_LEFT + False + False + 1 + 0.5 + 0 + 0 + PANGO_ELLIPSIZE_NONE + -1 + False + 0 + + + 0 + 1 + 1 + 2 + fill + + + + + + True + Exponential moving average: + False + False + GTK_JUSTIFY_LEFT + False + False + 1 + 0.5 + 0 + 0 + PANGO_ELLIPSIZE_NONE + -1 + False + 0 + + + 0 + 1 + 2 + 3 + fill + + + + + + True + False + True + model2 + + + + 0 + + + + + 1 + 2 + 0 + 1 + fill + + + + + True + False + 6 + + + True + True + 5 + True + GTK_RELIEF_NORMAL + True + True + False + True + + + 0 + False + False + + + + + True + True + 10 + True + GTK_RELIEF_NORMAL + True + False + False + True + + + 0 + False + False + + + + + True + True + 20 + True + GTK_RELIEF_NORMAL + True + True + False + True + + + 0 + False + False + + + + + True + True + 50 + True + GTK_RELIEF_NORMAL + True + False + False + True + + + 0 + False + False + + + + + True + True + 100 + True + GTK_RELIEF_NORMAL + True + False + False + True + + + 0 + False + False + + + + + True + True + 200 + True + GTK_RELIEF_NORMAL + True + False + False + True + + + 0 + False + False + + + + + 1 + 2 + 2 + 3 + fill + fill + + + + + True + Overlays: + False + False + GTK_JUSTIFY_LEFT + False + False + 1 + 0.5 + 0 + 0 + PANGO_ELLIPSIZE_NONE + -1 + False + 0 + + + 0 + 1 + 3 + 4 + fill + + + + + + True + False + 0 + + + True + True + Bollinger + True + GTK_RELIEF_NORMAL + True + True + False + True + + + 0 + False + False + + + + + True + True + SAR + True + GTK_RELIEF_NORMAL + True + False + False + True + + + 0 + False + False + + + + + True + True + Splits + True + GTK_RELIEF_NORMAL + True + False + False + True + + + 0 + False + False + + + + + True + True + Volumes + True + GTK_RELIEF_NORMAL + True + True + False + True + + + 0 + False + False + + + + + 1 + 2 + 3 + 4 + fill + fill + + + + + True + Indicators: + False + False + GTK_JUSTIFY_LEFT + False + False + 1 + 0.5 + 0 + 0 + PANGO_ELLIPSIZE_NONE + -1 + False + 0 + + + 0 + 1 + 4 + 5 + fill + + + + + + True + 3 + 3 + False + 0 + 0 + + + True + True + RSI + True + GTK_RELIEF_NORMAL + True + False + False + True + + + 0 + 1 + 1 + 2 + fill + + + + + + True + True + Vol + True + GTK_RELIEF_NORMAL + True + False + False + True + + + 0 + 1 + 2 + 3 + fill + + + + + + True + True + MFI + True + GTK_RELIEF_NORMAL + True + True + False + True + + + 1 + 2 + 0 + 1 + fill + + + + + + True + True + Slow stoch + True + GTK_RELIEF_NORMAL + True + True + False + True + + + 1 + 2 + 1 + 2 + fill + + + + + + True + True + Vol+MA + True + GTK_RELIEF_NORMAL + True + False + False + True + + + 1 + 2 + 2 + 3 + fill + + + + + + True + True + ROC + True + GTK_RELIEF_NORMAL + True + False + False + True + + + 2 + 3 + 0 + 1 + fill + + + + + + True + True + Fast stoch + True + GTK_RELIEF_NORMAL + True + False + False + True + + + 2 + 3 + 1 + 2 + fill + + + + + + True + True + W%R + True + GTK_RELIEF_NORMAL + True + True + False + True + + + 2 + 3 + 2 + 3 + fill + + + + + + True + True + MACD + True + GTK_RELIEF_NORMAL + True + True + False + True + + + 0 + 1 + 0 + 1 + fill + + + + + + 1 + 2 + 4 + 5 + fill + fill + + + + + True + False + 6 + + + True + True + 5 + True + GTK_RELIEF_NORMAL + True + False + False + True + + + 0 + False + False + + + + + True + True + 10 + True + GTK_RELIEF_NORMAL + True + False + False + True + + + 0 + False + False + + + + + True + True + 20 + True + GTK_RELIEF_NORMAL + True + True + False + True + + + 0 + False + False + + + + + True + True + 50 + True + GTK_RELIEF_NORMAL + True + False + False + True + + + 0 + False + False + + + + + True + True + 100 + True + GTK_RELIEF_NORMAL + True + False + False + True + + + 0 + False + False + + + + + True + True + 200 + True + GTK_RELIEF_NORMAL + True + False + False + True + + + 0 + False + False + + + + + 1 + 2 + 1 + 2 + fill + fill + + + + + + + True + _Options + True + False + GTK_JUSTIFY_LEFT + False + False + 0.5 + 0.5 + 0 + 0 + PANGO_ELLIPSIZE_NONE + -1 + False + 0 + + + + + 0 + False + False + + + + + True + True + GTK_POLICY_NEVER + GTK_POLICY_AUTOMATIC + GTK_SHADOW_IN + GTK_CORNER_TOP_LEFT + + + True + GTK_SHADOW_NONE + + + True + 5 + stock_chart + 0.5 + 0.5 + 0 + 0 + + + + + + + 0 + True + True + + + + + True + True + Downloading chart from <b>Yahoo!</b> + False + True + GTK_JUSTIFY_LEFT + False + True + 0.5 + 0.5 + 0 + 0 + PANGO_ELLIPSIZE_NONE + -1 + False + 0 + + + 0 + False + False + + + + + + diff --git a/invest-applet/data/prefs-dialog.ui b/invest-applet/data/prefs-dialog.ui new file mode 100644 index 00000000..e5998393 --- /dev/null +++ b/invest-applet/data/prefs-dialog.ui @@ -0,0 +1,236 @@ + + + + + + 5 + Invest Preferences + True + center + 450 + True + dialog + False + + + + True + 2 + + + True + 5 + 18 + + + True + + + True + label + True + center + + + False + False + 12 + 0 + + + + + True + 0 + Stocks + True + center + + + + + + False + False + 1 + + + + + True + 18 + 18 + + + True + 6 + + + True + True + True + never + automatic + in + + + True + True + True + True + + + + + 0 + + + + + True + 6 + True + + + gtk-add + True + True + False + True + + + 0 + + + + + gtk-remove + True + True + False + True + + + 1 + + + + + False + 1 + + + + + True + 0 + <i><small><b>Note:</b> Quotes are delayed at least 15 minutes. +<b>Source: </b> Yahoo!</small></i> + True + + + False + False + 2 + + + + + + + 2 + + + + + True + 0 + Currency + True + center + + + + + + False + False + 3 + + + + + True + 18 + + + True + True + + + + + + False + 4 + + + + + 6 + 0 + + + + + 1 + + + + + True + end + + + gtk-help + True + True + True + True + + + False + False + 0 + + + + + gtk-close + True + True + True + False + True + + + False + False + 1 + + + + + False + end + 0 + + + + + + help + close + + + -- cgit v1.2.1