[Zeitgeist] [Merge] lp:~dhananjaysathe/zeitgeist-explorer/zeitgeist-explorer into lp:zeitgeist-explorer

2012-03-24 Thread dhananjaysathe
dhananjaysathe has proposed merging 
lp:~dhananjaysathe/zeitgeist-explorer/zeitgeist-explorer into 
lp:zeitgeist-explorer.

Requested reviews:
  Zeitgeist Framework Team (zeitgeist)

For more details, see:
https://code.launchpad.net/~dhananjaysathe/zeitgeist-explorer/zeitgeist-explorer/+merge/99166
-- 
https://code.launchpad.net/~dhananjaysathe/zeitgeist-explorer/zeitgeist-explorer/+merge/99166
Your team Zeitgeist Framework Team is requested to review the proposed merge of 
lp:~dhananjaysathe/zeitgeist-explorer/zeitgeist-explorer into 
lp:zeitgeist-explorer.
=== modified file 'zgexplorer/eventwidgets.py'
--- zgexplorer/eventwidgets.py	2012-03-23 08:07:17 +
+++ zgexplorer/eventwidgets.py	2012-03-24 11:58:18 +
@@ -27,32 +27,40 @@
 Interpretation, StorageState, Symbol, ResultType
 from lookupdata import *
 
+# workaround for Gtk ComboBoxText Widgets
+def get_active_text(combobox):
+  model = combobox.get_model()
+  active = combobox.get_active()
+  if active  0:
+  return ''
+  return model[active][0]
 class TimeRangeViewer(Gtk.VBox):
-def __init__(self):
+def __init__(self,start_time=None,end_time=None):
 super(TimeRangeViewer, self).__init__()
 
 timerange_label = Gtk.Label(Time Range,xalign=0 ,yalign=0.5)
 self.pack_start(timerange_label,False,False,3)
 
-self.always_radio = Gtk.RadioButton(label= Always,margin_left= 12)
+self.always_radio = Gtk.RadioButton(label= Always)
 self.pack_start(self.always_radio,False,False,3)
 self.always_radio.connect('toggled',self.update_sensitivity)
 
-self.custom_radio = Gtk.RadioButton(label= Custom,margin_left= 12)
+self.custom_radio = Gtk.RadioButton(label= Custom)
 self.custom_radio.join_group(self.always_radio)
 self.pack_start(self.custom_radio,False,False,3)
 
-enteries_box = Gtk.VBox(margin_left=14)
+enteries_box = Gtk.VBox()
+enteries_box.set_margin_left(14)
 self.pack_start(enteries_box,False,False,3)
 
-self.start_time = DatetimePicker()
-self.end_time = DatetimePicker()
+self.start_time = DatetimePicker(start_time)
+self.end_time = DatetimePicker(end_time)
 self.start_time.update_sensitivity(False)
 self.end_time.update_sensitivity(False)
 
-enteries_box.pack_start(Gtk.Label('From :',xalign=0 ,yalign=0.5),False,False,1)
+enteries_box.pack_start(Gtk.Label('From :',xalign=0 ,yalign=0.5),False,False,0)
 enteries_box.pack_start(self.start_time,False,False,1)
-enteries_box.pack_start(Gtk.Label('To :',xalign=0 ,yalign=0.5),False,False,1)
+enteries_box.pack_start(Gtk.Label('To :',xalign=0 ,yalign=0.5),False,False,0)
 enteries_box.pack_start(self.end_time,False,False,1)
 
 def get_start_time(self):
@@ -71,14 +79,15 @@
 
 
 class DatetimePicker(Gtk.HBox):
-def __init__(self):
+def __init__(self,time):
 super(DatetimePicker, self).__init__()
-time = datetime.now()
+if time is None:
+time = datetime.now()
 
 #date
 date_holder = Gtk.HBox()
-self.pack_start(date_holder,False,False,6)
-date_holder.pack_start(Gtk.Label('DD|MM|YY :'),False,False,6)
+self.pack_start(date_holder,False,False,3)
+date_holder.pack_start(Gtk.Label('DD|MM|YY :'),False,False,3)
 self.date_spin_day = Gtk.SpinButton(numeric=True)
 self.date_spin_day.set_adjustment(Gtk.Adjustment(lower=1,
  upper=32,page_size=1,step_increment=1,value=time.day))
@@ -94,8 +103,8 @@
 
 #time
 time_holder = Gtk.HBox()
-self.pack_end(time_holder,False,False,6)
-time_holder.pack_start(Gtk.Label('HH:MM:SS '),False,False,6)
+self.pack_end(time_holder,False,False,3)
+time_holder.pack_start(Gtk.Label('HH:MM:SS '),False,False,3)
 self.time_spin_hour = Gtk.SpinButton(numeric=True)
 self.time_spin_hour.set_adjustment(Gtk.Adjustment(lower=0,
  upper=24,page_size=1,step_increment=1,value=time.hour))
@@ -112,12 +121,12 @@
 self.show_all()
 
 def get_datetime(self):
-return datetime(self.date_spin_year.get_valuea_as_int(),
-self.date_spin_month.get_valuea_as_int(),
-self.date_spin_day.get_valuea_as_int(),
-self.time_spin_hour.get_valuea_as_int(),
-self.time_spin_min.get_valuea_as_int(),
-self.time_spin_sec.get_valuea_as_int())
+return datetime(self.date_spin_year.get_value_as_int(),
+self.date_spin_month.get_value_as_int(),
+self.date_spin_day.get_value_as_int(),
+self.time_spin_hour.get_value_as_int(),
+self.time_spin_min.get_value_as_int(),
+self.time_spin_sec.get_value_as_int())
 
 def 

[Zeitgeist] [Merge] lp:~mefrio-g/activity-log-manager/switchboard-plug into lp:activity-log-manager

2012-03-24 Thread Mario Guerriero
Mario Guerriero has proposed merging 
lp:~mefrio-g/activity-log-manager/switchboard-plug into lp:activity-log-manager.

Requested reviews:
  Activity Log Manager (activity-log-manager)

For more details, see:
https://code.launchpad.net/~mefrio-g/activity-log-manager/switchboard-plug/+merge/99189

Added a Switchboard plug interface
-- 
https://code.launchpad.net/~mefrio-g/activity-log-manager/switchboard-plug/+merge/99189
Your team Activity Log Manager is requested to review the proposed merge of 
lp:~mefrio-g/activity-log-manager/switchboard-plug into lp:activity-log-manager.
=== modified file 'README'
--- README	2012-02-07 14:16:08 +
+++ README	2012-03-24 22:56:20 +
@@ -18,6 +18,17 @@
 Upstream gnome-control-center does not allow embedding third-party 
 entries in the control center.
 
+Switchboard plug
+
+Hard Dependencies:
+zeitgeist-1.0
+gee-1.0
+gtk-3.0
+gio-unix-2.0
+pantheon
+
+The file data/alm.plug should be putted in lib/plugs/alm with the 
+generated exacutable which should be named alm
 
 Report bugs
 ---

=== added file 'data/alm.plug'
--- data/alm.plug	1970-01-01 00:00:00 +
+++ data/alm.plug	2012-03-24 22:56:20 +
@@ -0,0 +1,5 @@
+[alm.plug]
+exec=alm
+icon=activity-log-manager
+title=Activity Log Manager
+category=personal

=== added file 'src/alm-plug.vala'
--- src/alm-plug.vala	1970-01-01 00:00:00 +
+++ src/alm-plug.vala	2012-03-24 22:56:20 +
@@ -0,0 +1,44 @@
+/***
+  BEGIN LICENSE
+	
+  Copyright (C) 2011 Mario Guerriero mefri...@gmail.com	
+  This program is free software: you can redistribute it and/or modify it	
+  under the terms of the GNU Lesser General Public License version 3, as published	
+  by the Free Software Foundation.
+	
+  This program is distributed in the hope that it will be useful, but	
+  WITHOUT ANY WARRANTY; without even the implied warranties of	
+  MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR	
+  PURPOSE.  See the GNU General Public License for more details.
+	
+  You should have received a copy of the GNU General Public License along	
+  with this program.  If not, see http://www.gnu.org/licenses/
+  
+  END LICENSE	
+***/ 
+
+namespace Alm {
+class AlmPlug : Pantheon.Switchboard.Plug 
+{
+
+public AlmPlug () 
+{
+var box = new ActivityLogManager ();
+add (box);
+}
+  
+}
+}
+
+public static int main (string[] args) 
+{
+Gtk.init (ref args);
+	
+var plug = new Alm.AlmPlug ();
+plug.register (Activity log manager);
+plug.show_all (); 
+	
+Gtk.main ();
+	
+return 0;
+}
\ No newline at end of file

___
Mailing list: https://launchpad.net/~zeitgeist
Post to : zeitgeist@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zeitgeist
More help   : https://help.launchpad.net/ListHelp


[Zeitgeist] [Bug 964219] [NEW] Issues with unity dash not working due to ZG DB

2012-03-24 Thread Chris Johnston
Private bug reported:

My Unity dash is failing to show items due to ZG having a DB issue.

** Affects: zeitgeist
 Importance: Undecided
 Status: New

-- 
You received this bug notification because you are a member of Zeitgeist
Framework Team, which is subscribed to Zeitgeist Framework.
https://bugs.launchpad.net/bugs/964219

Title:
  Issues with unity dash not working due to ZG DB

Status in Zeitgeist Framework:
  New

Bug description:
  My Unity dash is failing to show items due to ZG having a DB issue.

To manage notifications about this bug go to:
https://bugs.launchpad.net/zeitgeist/+bug/964219/+subscriptions

___
Mailing list: https://launchpad.net/~zeitgeist
Post to : zeitgeist@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zeitgeist
More help   : https://help.launchpad.net/ListHelp


[Zeitgeist] [Bug 964219] Re: Issues with unity dash not working due to ZG DB

2012-03-24 Thread Chris Johnston
** Attachment added: activity.sqlite
   
https://bugs.launchpad.net/bugs/964219/+attachment/2931462/+files/activity.sqlite

** Visibility changed to: Private

-- 
You received this bug notification because you are a member of Zeitgeist
Framework Team, which is subscribed to Zeitgeist Framework.
https://bugs.launchpad.net/bugs/964219

Title:
  Issues with unity dash not working due to ZG DB

Status in Zeitgeist Framework:
  New

Bug description:
  My Unity dash is failing to show items due to ZG having a DB issue.

To manage notifications about this bug go to:
https://bugs.launchpad.net/zeitgeist/+bug/964219/+subscriptions

___
Mailing list: https://launchpad.net/~zeitgeist
Post to : zeitgeist@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zeitgeist
More help   : https://help.launchpad.net/ListHelp


[Zeitgeist] [Bug 964219] Re: Issues with unity dash not working due to ZG DB

2012-03-24 Thread Seif Lotfy
Ok seems like U1 is literally misusing Zeitgeist

-- 
You received this bug notification because you are a member of Zeitgeist
Framework Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/964219

Title:
  Issues with unity dash not working due to ZG DB

Status in Zeitgeist Framework:
  New

Bug description:
  My Unity dash is failing to show items due to ZG having a DB issue.

To manage notifications about this bug go to:
https://bugs.launchpad.net/zeitgeist/+bug/964219/+subscriptions

___
Mailing list: https://launchpad.net/~zeitgeist
Post to : zeitgeist@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zeitgeist
More help   : https://help.launchpad.net/ListHelp


[Zeitgeist] [Bug 964219] Re: Issues with unity dash not working due to ZG DB

2012-03-24 Thread Siegfried Gevatter
Hi,

Can you please try starting Zeitgeist with zeitgeist-daemon -r --log-
level=debug --log-file=zeitgeist.txt, reproduce the problem in Unity,
and then attach the resulting zeitgeist.txt file?

Thanks

-- 
You received this bug notification because you are a member of Zeitgeist
Framework Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/964219

Title:
  Issues with unity dash not working due to ZG DB

Status in Zeitgeist Framework:
  New

Bug description:
  My Unity dash is failing to show items due to ZG having a DB issue.

To manage notifications about this bug go to:
https://bugs.launchpad.net/zeitgeist/+bug/964219/+subscriptions

___
Mailing list: https://launchpad.net/~zeitgeist
Post to : zeitgeist@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zeitgeist
More help   : https://help.launchpad.net/ListHelp


[Zeitgeist] [Bug 964219] Re: Issues with unity dash not working due to ZG DB

2012-03-24 Thread Seif Lotfy
Interesting. Never seen a DB so large before

-- 
You received this bug notification because you are a member of Zeitgeist
Framework Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/964219

Title:
  Issues with unity dash not working due to ZG DB

Status in Zeitgeist Framework:
  New

Bug description:
  My Unity dash is failing to show items due to ZG having a DB issue.

To manage notifications about this bug go to:
https://bugs.launchpad.net/zeitgeist/+bug/964219/+subscriptions

___
Mailing list: https://launchpad.net/~zeitgeist
Post to : zeitgeist@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zeitgeist
More help   : https://help.launchpad.net/ListHelp


[Zeitgeist] [Bug 964219] Re: Issues with unity dash not working due to ZG DB

2012-03-24 Thread Chris Johnston
Siegfried, right now its working.

-- 
You received this bug notification because you are a member of Zeitgeist
Framework Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/964219

Title:
  Issues with unity dash not working due to ZG DB

Status in Zeitgeist Framework:
  New

Bug description:
  My Unity dash is failing to show items due to ZG having a DB issue.

To manage notifications about this bug go to:
https://bugs.launchpad.net/zeitgeist/+bug/964219/+subscriptions

___
Mailing list: https://launchpad.net/~zeitgeist
Post to : zeitgeist@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zeitgeist
More help   : https://help.launchpad.net/ListHelp


[Zeitgeist] [Bug 964219] Re: Issues with unity dash not working due to ZG DB

2012-03-24 Thread Seif Lotfy
Chris I still see U1 pushing to many data in for you into Zeitgeist. If
you want i can write a script that would remove the U1 entries as well
as blacklist them. Would you like something like that?

-- 
You received this bug notification because you are a member of Zeitgeist
Framework Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/964219

Title:
  Issues with unity dash not working due to ZG DB

Status in Zeitgeist Framework:
  New

Bug description:
  My Unity dash is failing to show items due to ZG having a DB issue.

To manage notifications about this bug go to:
https://bugs.launchpad.net/zeitgeist/+bug/964219/+subscriptions

___
Mailing list: https://launchpad.net/~zeitgeist
Post to : zeitgeist@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zeitgeist
More help   : https://help.launchpad.net/ListHelp


[Zeitgeist] [Bug 964219] Re: Issues with unity dash not working due to ZG DB

2012-03-24 Thread Chris Johnston
** Attachment removed: activity.sqlite
   
https://bugs.launchpad.net/zeitgeist/+bug/964219/+attachment/2931462/+files/activity.sqlite

** Visibility changed to: Public

-- 
You received this bug notification because you are a member of Zeitgeist
Framework Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/964219

Title:
  Issues with unity dash not working due to ZG DB

Status in Zeitgeist Framework:
  New

Bug description:
  My Unity dash is failing to show items due to ZG having a DB issue.

To manage notifications about this bug go to:
https://bugs.launchpad.net/zeitgeist/+bug/964219/+subscriptions

___
Mailing list: https://launchpad.net/~zeitgeist
Post to : zeitgeist@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zeitgeist
More help   : https://help.launchpad.net/ListHelp