Notices


Reply
Thread Tools
Posts: 755 | Thanked: 406 times | Joined on Feb 2008 @ UK
#51
Originally Posted by qole View Post
Is it possible that this app could be disabling the sounding of alarms? I have two N800s, one that has a custom kernel, multiboot, etc, etc, and another which is a fairly clean Diablo install. Both have LSBC installed, and both no longer sound alarms that are set. The alarms appear to be set, but then they never actually sound.
I know that Powerllaunch used to interfere with the alarm stuff, and I'm guessing that you're using it with your easy debian. I don't know if Austin Che has worked on it recently.
 

The Following User Says Thank You to codeMonkey For This Useful Post:
qole's Avatar
Moderator | Posts: 7,109 | Thanked: 8,820 times | Joined on Oct 2007 @ Vancouver, BC, Canada
#52
Thanks, yes, I think it is powerlaunch, not this project.
__________________
qole.org --- twitter --- Easy Debian wiki page
Please don't send me a private message, post to the appropriate thread.
Thank you all for your donations!
 
qwerty12's Avatar
Posts: 4,274 | Thanked: 5,358 times | Joined on Sep 2007 @ Looking at y'all and sighing
#53
Code:
--- large-statusbar-clock-0.7.orig/large-statusbar-clock-minutes.c
+++ large-statusbar-clock-0.7/large-statusbar-clock-minutes.c
@@ -46,6 +46,7 @@
 void minutes_button_clicked(GtkButton *button, gpointer data);
 gboolean update_minutes(gpointer data);
 void launch_clock(GtkMenuItem *item, gpointer data);
+void launch_datesettings(GtkMenuItem *item, gpointer data);
 void configure_clock(GtkMenuItem *item, gpointer data);
 void popup_place(GtkMenu *menu, gint *x, gint *y, gboolean *push_in, gpointer user_data);
 gint dbus_req_handler(const gchar* interface, const gchar* method, GArray* arguments, gpointer data, osso_rpc_t* retval);
@@ -358,6 +359,12 @@
 	  gtk_menu_shell_append(GTK_MENU_SHELL(statusbar_plugin->minutesMenu), menu_item);
   }
 
+
+  menu_item = gtk_menu_item_new_with_label("Date and time settings...");
+  g_signal_connect(menu_item, "activate", G_CALLBACK(launch_datesettings),statusbar_plugin);
+  gtk_widget_show_all(menu_item);
+  gtk_menu_shell_append(GTK_MENU_SHELL(statusbar_plugin->minutesMenu), menu_item);
+
   menu_item = gtk_menu_item_new_with_label("Configure");
   g_signal_connect(menu_item, "activate", G_CALLBACK(configure_clock),statusbar_plugin);
   gtk_widget_show_all(menu_item);
@@ -396,6 +403,26 @@
   osso_deinitialize(context);
 }
 
+void launch_datesettings(GtkMenuItem *item, gpointer data)
+{
+  osso_context_t *context;
+  osso_return_t ret;
+
+  context = osso_initialize("toptest", "0.1", TRUE, NULL);
+  if (context == NULL)
+  {
+    printf("could not connect to D-Bus\n");
+  }
+  ret = osso_cp_plugin_execute(context, "libcpdatetime.so", data, TRUE);
+
+  if (ret != OSSO_OK)
+  {
+    printf("ERROR!\n");
+  }
+
+  osso_deinitialize(context);
+}
+
 void toggle_alarms(GtkToggleButton *button, GtkVBox *box)
 {
 	if (gtk_toggle_button_get_active(button))
Bump, but I needed this one.


 

The Following User Says Thank You to qwerty12 For This Useful Post:
fiferboy's Avatar
Posts: 475 | Thanked: 771 times | Joined on Dec 2007 @ Hamilton, Ontario, Canada
#54
Faheem,

Thanks for the patch! It's good to see you are starting to code some C.

I hope to make some modifications including your patch to LSBC early next week. I have been putting them off for a long time, so I think this will serve as some impetus to actually do the work.

Andrew
 

The Following User Says Thank You to fiferboy For This Useful Post:
jself's Avatar
Posts: 203 | Thanked: 61 times | Joined on May 2008
#55
-nm found solution in thread-
__________________
Webdesign: http://www.oquilluksound.com/jrd
Urban Photography: http://stalktheland.blogspot.com
Music: http://www.myspace.com/mfred

» N800, cloned Diablo on 2 GB SD (Device: 600 MB, Internal: 256 MB, Swap: 256 MB), 8 GB external SD
 
Reply


 
Forum Jump


All times are GMT. The time now is 07:01.