shishi-commit
[Top][All Lists]
Advanced

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

ticket-applet ./ChangeLog src/ticket_applet.c ....


From: shishi-commit
Subject: ticket-applet ./ChangeLog src/ticket_applet.c ....
Date: Thu, 16 Oct 2003 05:32:24 -0400

CVSROOT:        /cvsroot/shishi
Module name:    ticket-applet
Branch:         
Changes by:     Simon Josefsson <address@hidden>        03/10/16 05:32:24

Modified files:
        .              : ChangeLog 
        src            : ticket_applet.c 
Added files:
        .              : ticket-applet2.spec 

Log message:
        Upstream sync.

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/shishi/ticket-applet/ticket-applet2.spec?rev=1.1
http://savannah.gnu.org/cgi-bin/viewcvs/shishi/ticket-applet/ChangeLog.diff?tr1=1.2&tr2=1.3&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/shishi/ticket-applet/src/ticket_applet.c.diff?tr1=1.1&tr2=1.2&r1=text&r2=text

Patches:
Index: ticket-applet/ChangeLog
diff -u ticket-applet/ChangeLog:1.2 ticket-applet/ChangeLog:1.3
--- ticket-applet/ChangeLog:1.2 Tue Sep 30 18:20:31 2003
+++ ticket-applet/ChangeLog     Thu Oct 16 05:32:23 2003
@@ -2,6 +2,57 @@
 # tag: address@hidden/ticket-applet--mainline--0.3
 #
 
+2003-10-14 22:53:10 GMT        Charles Duffy <address@hidden>  patch-26
+
+    Summary:
+      Add a spec file for building RPMs
+    Revision:
+      ticket-applet--mainline--0.3--patch-26
+
+    Tested against Red Hat 9.
+
+    new files:
+     ticket-applet2.spec
+
+    modified files:
+     ChangeLog
+
+
+2003-10-14 22:25:38 GMT        Charles Duffy <address@hidden>  patch-25
+
+    Summary:
+      Make the applet menu come up when the button is right clicked
+    Revision:
+      ticket-applet--mainline--0.3--patch-25
+
+    Copied button_press_hack from the GNOME cdplayer applet to propagate the 
gtk
+    button_press_event (as the button isn't doing itself... stupid).
+
+    modified files:
+     ChangeLog src/ticket_applet.c
+
+
+2003-10-12 15:52:33 GMT        Charles Duffy <address@hidden>  patch-24
+
+    Summary:
+      Add Debian packaging
+    Revision:
+      ticket-applet--mainline--0.3--patch-24
+
+    Create the gunk needed to build a Debian package (only tested
+    on unstable), and adjust the tagging-method to ignore the
+    *other* gunk that gets built as a side effect.
+
+    new files:
+     debian/changelog debian/control debian/rules
+
+    modified files:
+     ChangeLog {arch}/=tagging-method
+
+    new directories:
+     debian
+
+
 2003-05-24 21:01:10 GMT        Charles Duffy <address@hidden>  patch-23
 
     Summary:
Index: ticket-applet/src/ticket_applet.c
diff -u ticket-applet/src/ticket_applet.c:1.1 
ticket-applet/src/ticket_applet.c:1.2
--- ticket-applet/src/ticket_applet.c:1.1       Tue Sep 30 18:10:44 2003
+++ ticket-applet/src/ticket_applet.c   Thu Oct 16 05:32:23 2003
@@ -202,6 +202,24 @@
 
 }
 
+/* This is a hack around the fact that gtk+ doesn't
+ * propogate button presses on button2/3.
+ *
+ * Stolen from the GNOME CD Player Applet.
+ */
+static gboolean
+button_press_hack (GtkWidget      *widget,
+                   GdkEventButton *event,
+                   GtkWidget      *applet)
+{
+  if (event->button == 3 || event->button == 2) {
+    gtk_propagate_event (applet, (GdkEvent *) event);
+    return TRUE;
+  }
+  return FALSE;
+}
+
+
 static void
 ticket_applet_setup (TicketApplet *ad)
 {
@@ -229,6 +247,7 @@
   gtk_container_add(GTK_CONTAINER(frame), button);
   gtk_container_add(GTK_CONTAINER(PANEL_APPLET(ad)), frame);
 
+  g_signal_connect(G_OBJECT(ad->button), "button_press_event", 
G_CALLBACK(button_press_hack), (gpointer)ad);
   g_signal_connect(G_OBJECT(ad->button), "clicked", G_CALLBACK(renew_cb), 
(gpointer)ad);
 
   init_values(ad);




reply via email to

[Prev in Thread] Current Thread [Next in Thread]