aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Gould <ted@canonical.com>2009-06-08 14:07:53 -0500
committerTed Gould <ted@canonical.com>2009-06-08 14:07:53 -0500
commitaaee0018ecf3322a4e047f57e41cfffdb1582d11 (patch)
treee371e9c250aa7ee5317841923f1058daf96ec783
parentcfbfb0f5d246fad7881538bfc617e06e9136c8e5 (diff)
parentf5cec7c3e6dc602772642bd390ec632450709145 (diff)
downloadayatana-indicator-session-aaee0018ecf3322a4e047f57e41cfffdb1582d11.tar.gz
ayatana-indicator-session-aaee0018ecf3322a4e047f57e41cfffdb1582d11.tar.bz2
ayatana-indicator-session-aaee0018ecf3322a4e047f57e41cfffdb1582d11.zip
Merging from trunk. Splitting out packaging and getting all the files.
-rw-r--r--debian/changelog5
-rw-r--r--debian/control18
-rw-r--r--debian/copyright1
-rwxr-xr-xdebian/rules8
-rw-r--r--src/indicator-fusa.c26
5 files changed, 26 insertions, 32 deletions
diff --git a/debian/changelog b/debian/changelog
deleted file mode 100644
index ed0dab5..0000000
--- a/debian/changelog
+++ /dev/null
@@ -1,5 +0,0 @@
-indicator-fusa (0.1~ppa1) intrepid; urgency=low
-
- * Initial release
-
- -- Ted Gould <ted@ubuntu.com> Thu, 04 Dec 2008 23:51:41 -0800
diff --git a/debian/control b/debian/control
deleted file mode 100644
index 251112d..0000000
--- a/debian/control
+++ /dev/null
@@ -1,18 +0,0 @@
-Source: indicator-fusa
-Section: gnome
-Priority: optional
-Maintainer: Ubuntu Core Developers <ubuntu-devel-discuss@lists.ubuntu.com>
-Build-Depends: debhelper (>= 5.0),
- cdbs (>= 0.4.41),
- libgtk2.0-dev (>= 2.12.0),
- libdbus-glib-1-dev,
- gnome-doc-utils,
- scrollkeeper,
- intltool
-Standards-Version: 3.8.0
-
-Package: indicator-fusa
-Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends}, indicator-applet
-Description: Applet for the GNOME panel providing various indicators for
- display to users.
diff --git a/debian/copyright b/debian/copyright
deleted file mode 100644
index 6e773b6..0000000
--- a/debian/copyright
+++ /dev/null
@@ -1 +0,0 @@
-Canonical Copyright
diff --git a/debian/rules b/debian/rules
deleted file mode 100755
index 1c64b91..0000000
--- a/debian/rules
+++ /dev/null
@@ -1,8 +0,0 @@
-#!/usr/bin/make -f
-
-include /usr/share/cdbs/1/rules/debhelper.mk
-include /usr/share/cdbs/1/class/gnome.mk
-
-DEB_CONFIGURE_EXTRA_FLAGS += --disable-scrollkeeper
-LDFLAGS += -Wl,-z,defs -Wl,--as-needed
-
diff --git a/src/indicator-fusa.c b/src/indicator-fusa.c
new file mode 100644
index 0000000..21c0817
--- /dev/null
+++ b/src/indicator-fusa.c
@@ -0,0 +1,26 @@
+
+#include <gtk/gtk.h>
+
+GtkWidget *
+get_menu_item (void)
+{
+ GtkWidget * mainmenu = gtk_menu_item_new();
+
+ GtkWidget * hbox = gtk_hbox_new(FALSE, 3);
+
+ GtkWidget * label = gtk_label_new("Ted Gould");
+ gtk_box_pack_start(GTK_BOX(hbox), label, FALSE, FALSE, 3);
+ gtk_widget_show(label);
+
+ GtkWidget * icon = gtk_image_new_from_icon_name("gnome-logout",
+ GTK_ICON_SIZE_MENU);
+ gtk_box_pack_start(GTK_BOX(hbox), icon, FALSE, FALSE, 0);
+ gtk_widget_show(icon);
+
+ gtk_container_add(GTK_CONTAINER(mainmenu), hbox);
+ gtk_widget_show(hbox);
+
+ gtk_widget_show(mainmenu);
+ return mainmenu;
+}
+