Commit Graph

16 Commits

Author SHA1 Message Date
Ulf Lamping 55c2be83db move stock icon code from toolbar.c into specific stock_icons file(s)
svn path=/trunk/; revision=24921
2008-04-12 00:49:20 +00:00
Ulf Lamping f9f87904c4 second round to replace SIGNAL_CONNECT with g_signal_connect
This requires some casts to be added and I just don't want to add casts at all possible places. So I compile and only add casts where the (MSVC) compiler has a hard time. 

Unfortunately this won't find any problems in Linux/Unix only code - I'll keep an eye on the buildbot and try to fix things as I'm going on ...

svn path=/trunk/; revision=24913
2008-04-11 21:39:16 +00:00
Ulf Lamping 9af9a0e619 first round to replace SIGNAL_CONNECT with g_signal_connect
This requires some casts to be added and I just don't want to add casts at all possible places. So I compile and only add casts where the (MSVC) compiler has a hard time. 

Unfortunately this won't find any problems in Linux/Unix only code - I'll keep an eye on the buildbot and try to fix things as I'm going on ...

svn path=/trunk/; revision=24912
2008-04-11 21:20:51 +00:00
Ulf Lamping ae5f841083 replace all appearances of BUTTON_NEW_FROM_STOCK with GTK2's gtk_button_new_from_stock
svn path=/trunk/; revision=24904
2008-04-11 18:58:19 +00:00
Bill Meier 42acebd42c OBECT_..._DATA --> g_object_..._data
svn path=/trunk/; revision=24893
2008-04-11 16:04:54 +00:00
Ulf Lamping 74ea542da0 remove GTK1 code
svn path=/trunk/; revision=24813
2008-04-06 22:50:12 +00:00
Stephen Fisher 8a154bcfdd Fix bug #1164 again - this time for GTK1.
svn path=/trunk/; revision=23482
2007-11-18 04:20:14 +00:00
Sake Blok 508e268063 This patch makes it possible to disable individual coloring rules
without having to delete them. The patch has been tested on
Fedora-7 with GTK+ 1.2.10 and GTK+ 2.10.11.

Since I don't know how to use "strikethrough" in clists in GTK1
there is a little difference in how the disabled coloring rules
are displayed. In GTK2 they are striked through and in GTK1
they are shown in lightgrey on a white background.

Any info on how to use strikthrough in clists within GTK1 is more
than welcome :-)


svn path=/trunk/; revision=23421
2007-11-10 15:18:49 +00:00
Gerald Combs f7c4b26cb4 In newer versions of GTK+ 2.x, if you have the mouse positioned above a
button that goes from insensitive to sensitive, the button won't respond
to mouse clicks.

This caused the Coloring Rules dialog behavior reported in bug 699.  Work 
around it by not making the up/down buttons insensitive while we're moving
a rule.

Fixup whitespace.

svn path=/trunk/; revision=22946
2007-09-25 05:12:44 +00:00
Bill Meier 29c4953c11 Fix bug #1457: Undersized array causing "smashed stack".
svn path=/trunk/; revision=22942
2007-09-24 21:34:58 +00:00
Bill Meier 5efc608d28 Fix bug in View ! Color Filter ! New ! (Fore|Back)ground Color & etc code
which resulted in a GtkCritcal msg and in disabling the "(Fore|Back)ground Color"
button when esc used to close the widget.

svn path=/trunk/; revision=22840
2007-09-10 22:28:42 +00:00
Gerald Combs 9a0a626449 Fix for bug 1164 from Stephen Fisher: In the coloring rules edit dialog, set
the foreground color correctly.

svn path=/trunk/; revision=19740
2006-10-30 16:01:40 +00:00
Jaap Keuter ed69c761c8 From Stephen Fisher:
Attached is a patch to fix bug #1165.  To summarize: "if you click on the button to change the background color and hit ok, it changes not only the name field but also the string field's color away from the red/green [syntax check]."

svn path=/trunk/; revision=19619
2006-10-19 21:39:18 +00:00
Ulf Lamping a1656642c6 as Stephen Fisher noted: fix the files header comment
svn path=/trunk/; revision=19520
2006-10-14 00:22:36 +00:00
Guy Harris 26cce5d9fd Include <string.h> to declare string functions we use.
svn path=/trunk/; revision=19477
2006-10-10 08:13:56 +00:00
Ulf Lamping 589b473e41 various (huge) code cleanup incl. splitting of the coloring dialog and the actual color rule edit dialog into two files - this makes the things much more clearer now (at least for me)
svn path=/trunk/; revision=19392
2006-10-02 00:13:14 +00:00