[Goodies-commits] r1972 - in xfce4-clipman-plugin/trunk: . panel-plugin
Nick Schermer
nick at xfce.org
Wed Sep 6 10:21:55 CEST 2006
Author: nick
Date: 2006-09-06 08:21:54 +0000 (Wed, 06 Sep 2006)
New Revision: 1972
Modified:
xfce4-clipman-plugin/trunk/autogen.sh
xfce4-clipman-plugin/trunk/configure.in.in
xfce4-clipman-plugin/trunk/panel-plugin/Makefile.am
xfce4-clipman-plugin/trunk/panel-plugin/clipman-dialogs.c
xfce4-clipman-plugin/trunk/panel-plugin/clipman-dialogs.h
xfce4-clipman-plugin/trunk/panel-plugin/clipman.c
xfce4-clipman-plugin/trunk/panel-plugin/clipman.h
Log:
* Add $Id$ support
* I guess geany removed all the trailing spaces
Modified: xfce4-clipman-plugin/trunk/autogen.sh
===================================================================
--- xfce4-clipman-plugin/trunk/autogen.sh 2006-09-06 08:14:05 UTC (rev 1971)
+++ xfce4-clipman-plugin/trunk/autogen.sh 2006-09-06 08:21:54 UTC (rev 1972)
@@ -35,5 +35,3 @@
< "configure.in.in" > "configure.in"
exec xdt-autogen $@
-
-# vi:set ts=2 sw=2 et ai:
Property changes on: xfce4-clipman-plugin/trunk/autogen.sh
___________________________________________________________________
Name: svn:keywords
- author date id revision
+ Id
Modified: xfce4-clipman-plugin/trunk/configure.in.in
===================================================================
--- xfce4-clipman-plugin/trunk/configure.in.in 2006-09-06 08:14:05 UTC (rev 1971)
+++ xfce4-clipman-plugin/trunk/configure.in.in 2006-09-06 08:21:54 UTC (rev 1972)
@@ -1,4 +1,4 @@
-dnl configure.ac
+dnl $Id$
dnl
dnl xfce4-clipman-plugin - Clipboard manager for the Xfce desktop
dnl
Property changes on: xfce4-clipman-plugin/trunk/configure.in.in
___________________________________________________________________
Name: svn:keywords
+ Id
Modified: xfce4-clipman-plugin/trunk/panel-plugin/Makefile.am
===================================================================
--- xfce4-clipman-plugin/trunk/panel-plugin/Makefile.am 2006-09-06 08:14:05 UTC (rev 1971)
+++ xfce4-clipman-plugin/trunk/panel-plugin/Makefile.am 2006-09-06 08:21:54 UTC (rev 1972)
@@ -1,3 +1,5 @@
+# $Id$
+
plugindir = $(libexecdir)/xfce4/panel-plugins
plugin_PROGRAMS = xfce4-clipman-plugin
Property changes on: xfce4-clipman-plugin/trunk/panel-plugin/Makefile.am
___________________________________________________________________
Name: svn:keywords
- author date id revision
+ Id
Modified: xfce4-clipman-plugin/trunk/panel-plugin/clipman-dialogs.c
===================================================================
--- xfce4-clipman-plugin/trunk/panel-plugin/clipman-dialogs.c 2006-09-06 08:14:05 UTC (rev 1971)
+++ xfce4-clipman-plugin/trunk/panel-plugin/clipman-dialogs.c 2006-09-06 08:21:54 UTC (rev 1972)
@@ -1,5 +1,3 @@
-/* vim: set expandtab ts=8 sw=4: */
-
/* $Id$
*
* Copyright (c) 2006 Nick Schermer <nick at xfce.org>
@@ -35,16 +33,16 @@
typedef struct
{
ClipmanPlugin *clipman;
-
+
GtkWidget *ExitSave;
GtkWidget *IgnoreSelection;
GtkWidget *PreventEmpty;
-
+
GtkWidget *Behaviour;
-
+
GtkWidget *ItemNumbers;
GtkWidget *SeparateMenu;
-
+
GtkWidget *HistorySize;
GtkWidget *ItemChars;
}
@@ -56,30 +54,30 @@
ClipmanOptions *options)
{
DBG("Destroy the dialog");
-
+
g_object_set_data (G_OBJECT (options->clipman->plugin), "dialog", NULL);
-
+
if (gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (options->Behaviour)))
options->clipman->Behaviour = NORMAL;
else
options->clipman->Behaviour = STRICTLY;
-
+
if (options->clipman->HistoryItems != gtk_range_get_value (GTK_RANGE (options->HistorySize)))
{
options->clipman->HistoryItems = gtk_range_get_value (GTK_RANGE (options->HistorySize));
clipman_check_array_len (options->clipman);
}
-
+
options->clipman->MenuCharacters = gtk_range_get_value (GTK_RANGE (options->ItemChars));
-
+
clipman_save (options->clipman->plugin, options->clipman);
-
+
clipman_remove_selection_clips (options->clipman);
-
+
xfce_panel_plugin_unblock_menu (options->clipman->plugin);
-
+
gtk_widget_destroy (dialog);
-
+
panel_slice_free (ClipmanOptions, options);
}
@@ -97,7 +95,7 @@
GtkWidget *scalewidget)
{
guint value;
- value = gtk_spin_button_get_value_as_int (GTK_SPIN_BUTTON(spinwidget));
+ value = gtk_spin_button_get_value_as_int (GTK_SPIN_BUTTON(spinwidget));
gtk_range_set_value (GTK_RANGE (scalewidget), value);
}
@@ -108,12 +106,12 @@
if (button == options->ExitSave)
options->clipman->ExitSave =
gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (button));
-
+
else if (button == options->IgnoreSelection)
{
options->clipman->IgnoreSelect =
gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (button));
-
+
if (options->clipman->IgnoreSelect)
gtk_widget_set_sensitive (options->SeparateMenu, FALSE);
else
@@ -122,11 +120,11 @@
else if (button == options->PreventEmpty)
options->clipman->PreventEmpty =
gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (button));
-
+
else if (button == options->ItemNumbers)
options->clipman->ItemNumbers =
gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (button));
-
+
else if (button == options->SeparateMenu)
options->clipman->SeparateMenu =
gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (button));
@@ -143,12 +141,12 @@
GSList *group;
tooltips = gtk_tooltips_new ();
-
+
options = panel_slice_new0 (ClipmanOptions);
options->clipman = clipman;
-
+
xfce_panel_plugin_block_menu (clipman->plugin);
-
+
dialog = xfce_titled_dialog_new_with_buttons (_("Clipboard Manager"),
GTK_WINDOW (gtk_widget_get_toplevel (GTK_WIDGET (plugin))),
GTK_DIALOG_DESTROY_WITH_PARENT | GTK_DIALOG_NO_SEPARATOR,
@@ -159,15 +157,15 @@
gtk_window_set_position (GTK_WINDOW (dialog), GTK_WIN_POS_CENTER);
gtk_window_set_icon_name (GTK_WINDOW (dialog), "xfce4-settings");
-
+
g_object_set_data (G_OBJECT (clipman->plugin), "dialog", dialog);
-
+
dialog_vbox = GTK_DIALOG (dialog)->vbox;
notebook = gtk_notebook_new ();
gtk_box_pack_start (GTK_BOX (dialog_vbox), notebook, FALSE, TRUE, 0);
gtk_container_set_border_width (GTK_CONTAINER (notebook), BORDER-3);
-
+
notebook_vbox = gtk_vbox_new (FALSE, 2);
gtk_container_add (GTK_CONTAINER (notebook), notebook_vbox);
@@ -177,66 +175,66 @@
frame = gtk_frame_new (NULL);
gtk_box_pack_start (GTK_BOX (notebook_vbox), frame, FALSE, TRUE, 0);
gtk_container_set_border_width (GTK_CONTAINER (frame), BORDER-3);
-
+
vbox = gtk_vbox_new (FALSE, 2);
gtk_container_add (GTK_CONTAINER (frame), vbox);
gtk_container_set_border_width (GTK_CONTAINER (vbox), BORDER);
-
+
button = options->ExitSave = gtk_check_button_new_with_mnemonic (_("Save clipboard contents on _exit"));
gtk_box_pack_start (GTK_BOX (vbox), button, FALSE, FALSE, 0);
gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (button), clipman->ExitSave);
-
+
g_signal_connect (G_OBJECT (button), "toggled",
G_CALLBACK (toggle_button), options);
-
- gtk_tooltips_set_tip (tooltips, button,
+
+ gtk_tooltips_set_tip (tooltips, button,
_("Select this option to save the clipboard history when you exit Xfce and "
"restore it when you login again."), NULL);
-
+
button = options->IgnoreSelection = gtk_check_button_new_with_mnemonic (_("_Ignore selections"));
gtk_box_pack_start (GTK_BOX (vbox), button, FALSE, FALSE, 0);
gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (button), clipman->IgnoreSelect);
-
- gtk_tooltips_set_tip (tooltips, button,
+
+ gtk_tooltips_set_tip (tooltips, button,
_("Select this option will prevent Clipman from including the contents of "
"the selection in the history."), NULL);
-
+
g_signal_connect (G_OBJECT (button), "toggled",
G_CALLBACK (toggle_button), options);
-
+
button = options->PreventEmpty = gtk_check_button_new_with_mnemonic (_("Pre_vent empty clipboard"));
gtk_box_pack_start (GTK_BOX (vbox), button, FALSE, FALSE, 0);
gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (button), clipman->PreventEmpty);
-
+
g_signal_connect (G_OBJECT (button), "toggled",
G_CALLBACK (toggle_button), options);
-
- gtk_tooltips_set_tip (tooltips, button,
+
+ gtk_tooltips_set_tip (tooltips, button,
_("Select this option to prevent an empty clipboard. The most recent "
"history item will be added to the clipboard."), NULL);
-
+
label = gtk_label_new (_("<b>General</b>"));
gtk_frame_set_label_widget (GTK_FRAME (frame), label);
gtk_label_set_use_markup (GTK_LABEL (label), TRUE);
gtk_misc_set_padding (GTK_MISC (label), 2, 0);
-
+
/**
* separate clipboards frame
**/
frame = gtk_frame_new (NULL);
gtk_box_pack_start (GTK_BOX (notebook_vbox), frame, FALSE, TRUE, 0);
gtk_container_set_border_width (GTK_CONTAINER (frame), BORDER-3);
-
+
vbox = gtk_vbox_new (FALSE, 2);
gtk_container_add (GTK_CONTAINER (frame), vbox);
gtk_container_set_border_width (GTK_CONTAINER (vbox), BORDER);
-
+
group = NULL;
-
+
button = options->Behaviour = gtk_radio_button_new_with_mnemonic (group, _("Normal clipboard _management"));
gtk_box_pack_start (GTK_BOX (vbox), button, FALSE, FALSE, 0);
-
- gtk_tooltips_set_tip (tooltips, button,
+
+ gtk_tooltips_set_tip (tooltips, button,
_("When you've copied or cut some text and it is already in the "
"Clipman history from the selection clipboard, only the content "
"location will be changed.\n\nWhen a history item is clicked, the "
@@ -244,14 +242,14 @@
gtk_radio_button_set_group (GTK_RADIO_BUTTON (button), group);
group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (button));
-
+
if(clipman->Behaviour == NORMAL)
gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (button), TRUE);
-
+
button = gtk_radio_button_new_with_mnemonic (group, _("Strictly separate _both clipboards"));
gtk_box_pack_start (GTK_BOX (vbox), button, FALSE, FALSE, 0);
-
- gtk_tooltips_set_tip (tooltips, button,
+
+ gtk_tooltips_set_tip (tooltips, button,
_("When you've copied or cut some text it will be added to the Clipman history, "
"there will also be a duplicate in the history from the selection clipboard."
"\n\n"
@@ -260,18 +258,18 @@
"\n\n"
"This options will work best when you "
"select the \"Separate Clipboards\" option from the Appearance tab."), NULL);
-
+
gtk_radio_button_set_group (GTK_RADIO_BUTTON (button), group);
group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (button));
-
+
if(clipman->Behaviour == STRICTLY)
gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (button), TRUE);
-
+
label = gtk_label_new (_("<b>Clipboard Behaviour</b>"));
gtk_frame_set_label_widget (GTK_FRAME (frame), label);
gtk_label_set_use_markup (GTK_LABEL (label), TRUE);
gtk_misc_set_padding (GTK_MISC (label), 2, 0);
-
+
/**
* Notebook label
**/
@@ -280,112 +278,112 @@
notebook_vbox = gtk_vbox_new (FALSE, 2);
gtk_container_add (GTK_CONTAINER (notebook), notebook_vbox);
-
+
/**
* Menu appearance frame
**/
frame = gtk_frame_new (NULL);
gtk_box_pack_start (GTK_BOX (notebook_vbox), frame, FALSE, TRUE, 0);
gtk_container_set_border_width (GTK_CONTAINER (frame), BORDER-3);
-
+
vbox = gtk_vbox_new (FALSE, 2);
gtk_container_add (GTK_CONTAINER (frame), vbox);
gtk_container_set_border_width (GTK_CONTAINER (vbox), BORDER);
-
+
button = options->ItemNumbers = gtk_check_button_new_with_mnemonic (_("_Show item numbers"));
gtk_box_pack_start (GTK_BOX (vbox), button, FALSE, FALSE, 0);
gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (button), clipman->ItemNumbers);
-
+
g_signal_connect (G_OBJECT (button), "toggled",
G_CALLBACK (toggle_button), options);
-
- gtk_tooltips_set_tip (tooltips, button,
+
+ gtk_tooltips_set_tip (tooltips, button,
_("Select this option to show item numbers in the history list."), NULL);
-
+
button = options->SeparateMenu = gtk_check_button_new_with_mnemonic (_("Se_parate clipboards"));
gtk_box_pack_start (GTK_BOX (vbox), button, FALSE, FALSE, 0);
gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (button), clipman->SeparateMenu);
-
+
g_signal_connect (G_OBJECT (button), "toggled",
G_CALLBACK (toggle_button), options);
-
- gtk_tooltips_set_tip (tooltips, button,
+
+ gtk_tooltips_set_tip (tooltips, button,
_("Select this option to order the history list by primairy and selection clipboard."), NULL);
-
+
label = gtk_label_new (_("<b>Menu Appearance</b>"));
gtk_frame_set_label_widget (GTK_FRAME (frame), label);
gtk_label_set_use_markup (GTK_LABEL (label), TRUE);
gtk_misc_set_padding (GTK_MISC (label), 2, 0);
-
+
/**
* Call some functions
**/
-
+
toggle_button (options->IgnoreSelection, options);
-
+
/**
* Numbers frame
**/
frame = gtk_frame_new (NULL);
gtk_box_pack_start (GTK_BOX (notebook_vbox), frame, FALSE, TRUE, 0);
gtk_container_set_border_width (GTK_CONTAINER (frame), BORDER-3);
-
+
vbox = gtk_vbox_new (FALSE, 2);
gtk_container_add (GTK_CONTAINER (frame), vbox);
gtk_container_set_border_width (GTK_CONTAINER (vbox), BORDER);
-
+
label = gtk_label_new (_("Clipboard history items:"));
gtk_box_pack_start (GTK_BOX (vbox), label, FALSE, FALSE, 0);
gtk_misc_set_alignment (GTK_MISC (label), 0, 0.5);
-
+
hbox = gtk_hbox_new (FALSE, 0);
gtk_box_pack_start (GTK_BOX (vbox), hbox, TRUE, TRUE, 0);
-
+
button = options->HistorySize = gtk_hscale_new (GTK_ADJUSTMENT (gtk_adjustment_new (clipman->HistoryItems, MINHISTORY, MAXHISTORY, 1, 5, 0)));
gtk_widget_show (button);
gtk_box_pack_start (GTK_BOX (hbox), button, TRUE, TRUE, 10);
gtk_scale_set_draw_value (GTK_SCALE (button), FALSE);
gtk_scale_set_digits (GTK_SCALE (button), 0);
-
- gtk_tooltips_set_tip (tooltips, button,
+
+ gtk_tooltips_set_tip (tooltips, button,
_("The number of items stored in the history list."), NULL);
-
+
button = gtk_spin_button_new_with_range(MINHISTORY, MAXHISTORY, 1);
gtk_box_pack_start (GTK_BOX (hbox), button, FALSE, TRUE, 0);
gtk_spin_button_set_value(GTK_SPIN_BUTTON(button), clipman->HistoryItems);
-
+
/* Sync history widgets */
g_signal_connect (G_OBJECT (options->HistorySize), "value_changed",
G_CALLBACK (set_scale_to_spin), button);
-
+
g_signal_connect (G_OBJECT (button), "value_changed",
G_CALLBACK (set_spin_to_scale), options->HistorySize);
-
+
label = gtk_label_new (_("Menu item characters:"));
gtk_box_pack_start (GTK_BOX (vbox), label, FALSE, FALSE, 0);
gtk_misc_set_alignment (GTK_MISC (label), 0, 0.5);
-
+
hbox = gtk_hbox_new (FALSE, 0);
gtk_box_pack_start (GTK_BOX (vbox), hbox, TRUE, TRUE, 0);
-
+
button = options->ItemChars = gtk_hscale_new (GTK_ADJUSTMENT (gtk_adjustment_new (clipman->MenuCharacters, MINCHARS, MAXCHARS, 1, 5, 0)));
gtk_box_pack_start (GTK_BOX (hbox), button, TRUE, TRUE, 10);
gtk_scale_set_draw_value (GTK_SCALE (button), FALSE);
gtk_scale_set_digits (GTK_SCALE (button), 0);
-
- gtk_tooltips_set_tip (tooltips, button,
+
+ gtk_tooltips_set_tip (tooltips, button,
_("The number of characters showed in the history list. After this amount of characters, the history label will be ellipsized."), NULL);
-
+
button = gtk_spin_button_new_with_range(MINCHARS, MAXCHARS, 1);
gtk_box_pack_start (GTK_BOX (hbox), button, FALSE, TRUE, 0);
gtk_spin_button_set_value(GTK_SPIN_BUTTON(button), clipman->MenuCharacters);
-
+
g_signal_connect (G_OBJECT (options->ItemChars), "value_changed",
G_CALLBACK (set_scale_to_spin), button);
-
+
g_signal_connect (G_OBJECT (button), "value_changed",
G_CALLBACK (set_spin_to_scale), options->ItemChars);
-
+
label = gtk_label_new (_("<b>Numbers</b>"));
gtk_frame_set_label_widget (GTK_FRAME (frame), label);
gtk_label_set_use_markup (GTK_LABEL (label), TRUE);
@@ -393,9 +391,9 @@
label = gtk_label_new (_("Appearance"));
gtk_notebook_set_tab_label (GTK_NOTEBOOK (notebook), gtk_notebook_get_nth_page (GTK_NOTEBOOK (notebook), 1), label);
-
+
g_signal_connect(dialog, "response",
G_CALLBACK(clipman_configure_response), options);
-
+
gtk_widget_show_all (dialog);
}
Property changes on: xfce4-clipman-plugin/trunk/panel-plugin/clipman-dialogs.c
___________________________________________________________________
Name: svn:keywords
+ Id
Modified: xfce4-clipman-plugin/trunk/panel-plugin/clipman-dialogs.h
===================================================================
--- xfce4-clipman-plugin/trunk/panel-plugin/clipman-dialogs.h 2006-09-06 08:14:05 UTC (rev 1971)
+++ xfce4-clipman-plugin/trunk/panel-plugin/clipman-dialogs.h 2006-09-06 08:21:54 UTC (rev 1972)
@@ -1,5 +1,3 @@
-/* vim: set expandtab ts=8 sw=4: */
-
/* $Id$
*
* Copyright (c) 2006 Nick Schermer <nick at xfce.org>
Property changes on: xfce4-clipman-plugin/trunk/panel-plugin/clipman-dialogs.h
___________________________________________________________________
Name: svn:keywords
+ Id
Modified: xfce4-clipman-plugin/trunk/panel-plugin/clipman.c
===================================================================
--- xfce4-clipman-plugin/trunk/panel-plugin/clipman.c 2006-09-06 08:14:05 UTC (rev 1971)
+++ xfce4-clipman-plugin/trunk/panel-plugin/clipman.c 2006-09-06 08:21:54 UTC (rev 1972)
@@ -1,5 +1,3 @@
-/* vim: set expandtab ts=8 sw=4: */
-
/* $Id$
*
* Copyright (c) 2006 Nick Schermer <nick at xfce.org>
@@ -49,7 +47,7 @@
{
g_free (clip->text);
g_free (clip->title);
-
+
panel_slice_free (ClipmanClip, clip);
DBG ("Clip successfully freed");
@@ -60,7 +58,7 @@
ClipmanPlugin *clipman)
{
gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (clipman->button), FALSE);
-
+
gtk_widget_destroy (menu);
DBG ("Menu Destroyed");
@@ -73,13 +71,13 @@
{
ClipmanClip *clip;
- if (xfce_confirm (_("Are you sure you want to clear the history?"),
- "gtk-yes",
+ if (xfce_confirm (_("Are you sure you want to clear the history?"),
+ "gtk-yes",
NULL))
{
gtk_clipboard_clear (primaryClip);
gtk_clipboard_clear (defaultClip);
-
+
while (clipman->clips->len > 0)
{
clip = g_ptr_array_index (clipman->clips, 0);
@@ -87,10 +85,10 @@
clipman_free_clip (clip);
}
}
-
- /* 'Save' the empty clipboard */
+
+ /* 'Save' the empty clipboard */
clipman_save (clipman->plugin, clipman);
-
+
return FALSE;
}
@@ -106,7 +104,7 @@
clip = g_ptr_array_index (clipman->clips, 0);
g_ptr_array_remove (clipman->clips, clip);
clipman_free_clip (clip);
-
+
DBG("A clip have been removed");
}
}
@@ -116,7 +114,7 @@
gint length)
{
gchar *s, *t, *u;
-
+
s = g_strndup (txt, length*8 + 8);
if (!s)
{
@@ -135,7 +133,7 @@
u = g_locale_to_utf8 (s, -1, NULL, NULL, NULL);
g_free (s);
s = u;
-
+
/* Check the title again */
if (!s || !g_utf8_validate (s, -1, NULL))
{
@@ -146,10 +144,10 @@
}
g_strstrip (s);
-
+
t = g_markup_escape_text (s, -1);
g_free (s);
-
+
return t;
}
@@ -161,13 +159,13 @@
if (!clipman->IgnoreSelect)
return;
-
+
DBG ("Cleaning up all selection clips");
-
+
for (i = clipman->clips->len; i--; )
{
clip = g_ptr_array_index (clipman->clips, i);
-
+
if (clip->fromtype == PRIMARY)
{
g_ptr_array_remove (clipman->clips, clip);
@@ -182,26 +180,26 @@
ClipboardType type)
{
ClipmanClip *new_clip;
-
+
if (txt != "")
{
new_clip = panel_slice_new0 (ClipmanClip);
-
+
new_clip->title = clipman_create_title (txt,
clipman->MenuCharacters);
-
+
/* No valid title could be created, drop it... */
if (new_clip->title == NULL)
{
g_free (new_clip);
return;
}
-
+
new_clip->text = g_strdup (txt);
new_clip->fromtype = type;
-
+
g_ptr_array_add (clipman->clips, new_clip);
-
+
DBG("Added clip %d of %d", clipman->clips->len, clipman->HistoryItems);
}
}
@@ -213,36 +211,36 @@
{
guint i;
ClipmanClip *clip;
-
+
/* Walk through the array backwards, because
* if the text exists, this will probably be the newest */
for (i = clipman->clips->len; i--; )
{
clip = g_ptr_array_index (clipman->clips, i);
-
- if (G_LIKELY ((clip->text != NULL) &&
+
+ if (G_LIKELY ((clip->text != NULL) &&
(strcmp(clip->text, txt) == 0))
)
{
switch (clipman->Behaviour)
{
case NORMAL:
- if (type == DEFAULT &&
+ if (type == DEFAULT &&
clip->fromtype == PRIMARY)
- clip->fromtype = DEFAULT;
-
+ clip->fromtype = DEFAULT;
+
return TRUE;
-
+
case STRICTLY:
if (type == clip->fromtype)
return TRUE;
-
+
return FALSE;
}
}
}
-
+
return FALSE;
}
@@ -252,17 +250,17 @@
ClipmanAction *action)
{
gchar *dtext, *ptext;
-
+
if (ev->button == 1 && action->clipman->Behaviour == STRICTLY)
{
DBG("Clip copied to his own clipboard (STRICTLY)");
-
+
if (action->clip->fromtype == DEFAULT)
{
gtk_clipboard_clear (defaultClip);
gtk_clipboard_set_text (defaultClip, action->clip->text, -1);
}
-
+
if (action->clip->fromtype == PRIMARY)
{
gtk_clipboard_clear (primaryClip);
@@ -274,7 +272,7 @@
gtk_clipboard_clear (defaultClip);
gtk_clipboard_set_text (defaultClip, action->clip->text, -1);
DBG ("Clip copied to default clipboard");
-
+
if (!action->clipman->IgnoreSelect)
{
gtk_clipboard_clear (primaryClip);
@@ -284,11 +282,11 @@
}
else if (ev->button == 3)
{
- if (xfce_confirm (_("Are you sure you want to remove this clip from the history?"),
+ if (xfce_confirm (_("Are you sure you want to remove this clip from the history?"),
"gtk-yes", NULL))
{
DBG ("Removed the selected clip from the History");
-
+
dtext = gtk_clipboard_wait_for_text (defaultClip);
if (dtext && !strcmp(dtext, action->clip->text))
{
@@ -296,7 +294,7 @@
gtk_clipboard_set_text (defaultClip, "", -1);
}
g_free (dtext);
-
+
ptext = gtk_clipboard_wait_for_text (primaryClip);
if (ptext && !strcmp(ptext, action->clip->text))
{
@@ -304,14 +302,14 @@
gtk_clipboard_set_text (primaryClip, "", -1);
}
g_free (ptext);
-
+
g_ptr_array_remove (action->clipman->clips, action->clip);
clipman_free_clip (action->clip);
}
}
-
+
panel_slice_free (ClipmanAction, action);
-
+
return FALSE;
}
@@ -326,13 +324,13 @@
gchar *title;
mi = gtk_menu_item_new_with_label ("");
-
+
if (bold)
title = g_strdup_printf("<b>%s</b>", action->clip->title);
else
title = g_strdup_printf("%s", action->clip->title);
-
-
+
+
if (action->clipman->ItemNumbers)
{
if (number < 10)
@@ -359,25 +357,25 @@
ClipmanAction *action = NULL;
ClipmanClip *clip;
GtkWidget *mi;
-
+
/* Default Clips */
dtext = gtk_clipboard_wait_for_text (defaultClip);
j = 0;
-
+
for (i = clipman->clips->len; i--; )
{
clip = g_ptr_array_index (clipman->clips, i);
-
+
if (clip->fromtype == DEFAULT)
{
j++;
-
+
action = panel_slice_new0 (ClipmanAction);
action->clipman = clipman;
action->clip = clip;
-
- if (dtext != NULL &&
- G_LIKELY (clip->text != NULL) &&
+
+ if (dtext != NULL &&
+ G_LIKELY (clip->text != NULL) &&
strcmp(clip->text, dtext) == 0)
{
mi = clipman_create_menuitem (action, clipman->MenuCharacters,
@@ -390,14 +388,14 @@
mi = clipman_create_menuitem (action, clipman->MenuCharacters,
j, FALSE);
}
-
+
g_signal_connect (G_OBJECT(mi), "button_release_event",
G_CALLBACK(clipman_item_clicked), action);
-
+
gtk_menu_shell_append (GTK_MENU_SHELL (menu), mi);
}
}
-
+
g_free (dtext);
if (j == 0)
@@ -406,29 +404,29 @@
gtk_widget_set_sensitive (mi, FALSE);
gtk_menu_shell_append (GTK_MENU_SHELL (menu), mi);
}
-
+
/* Primairy Clips */
mi = gtk_separator_menu_item_new ();
gtk_widget_set_sensitive (mi, FALSE);
gtk_menu_shell_append (GTK_MENU_SHELL (menu), mi);
-
+
ptext = gtk_clipboard_wait_for_text (primaryClip);
j = 0;
-
+
for (i = clipman->clips->len; i--; )
{
clip = g_ptr_array_index (clipman->clips, i);
-
+
if (clip->fromtype == PRIMARY)
{
j++;
-
+
action = panel_slice_new0 (ClipmanAction);
action->clipman = clipman;
action->clip = clip;
-
- if (ptext != NULL &&
- G_LIKELY (clip->text != NULL) &&
+
+ if (ptext != NULL &&
+ G_LIKELY (clip->text != NULL) &&
strcmp(clip->text, ptext) == 0)
{
mi = clipman_create_menuitem (action, clipman->MenuCharacters,
@@ -441,30 +439,30 @@
mi = clipman_create_menuitem (action, clipman->MenuCharacters,
j, FALSE);
}
-
+
g_signal_connect (G_OBJECT(mi), "button_release_event",
G_CALLBACK(clipman_item_clicked), action);
-
+
gtk_menu_shell_append (GTK_MENU_SHELL (menu), mi);
}
}
-
+
g_free (ptext);
-
+
if (j == 0)
{
mi = gtk_menu_item_new_with_label (_("< Selection History Empty >"));
gtk_widget_set_sensitive (mi, FALSE);
gtk_menu_shell_append (GTK_MENU_SHELL (menu), mi);
}
-
+
mi = gtk_separator_menu_item_new ();
gtk_widget_set_sensitive (mi, FALSE);
gtk_menu_shell_append (GTK_MENU_SHELL (menu), mi);
-
+
mi = gtk_menu_item_new_with_label (_("Clear History"));
gtk_menu_shell_append (GTK_MENU_SHELL (menu), mi);
-
+
g_signal_connect (G_OBJECT (mi), "button_release_event",
G_CALLBACK (clipman_clear), clipman);
}
@@ -478,20 +476,20 @@
ClipmanAction *action = NULL;
ClipmanClip *clip;
GtkWidget *mi;
-
+
ptext = gtk_clipboard_wait_for_text (primaryClip);
dtext = gtk_clipboard_wait_for_text (defaultClip);
-
+
for (i = clipman->clips->len; i--;)
{
clip = g_ptr_array_index (clipman->clips, i);
-
+
action = panel_slice_new0 (ClipmanAction);
action->clipman = clipman;
action->clip = clip;
-
- if (dtext != NULL &&
- G_LIKELY (clip->text != NULL) &&
+
+ if (dtext != NULL &&
+ G_LIKELY (clip->text != NULL) &&
strcmp(clip->text, dtext) == 0)
{
mi = clipman_create_menuitem (action, clipman->MenuCharacters,
@@ -499,8 +497,8 @@
g_free (dtext);
dtext = NULL;
}
- else if (ptext != NULL &&
- G_LIKELY (clip->text != NULL) &&
+ else if (ptext != NULL &&
+ G_LIKELY (clip->text != NULL) &&
strcmp(clip->text, ptext) == 0)
{
mi = clipman_create_menuitem (action, clipman->MenuCharacters,
@@ -513,23 +511,23 @@
mi = clipman_create_menuitem (action, clipman->MenuCharacters,
clipman->clips->len-i, FALSE);
}
-
+
g_signal_connect (G_OBJECT(mi), "button_release_event",
G_CALLBACK(clipman_item_clicked), action);
-
+
gtk_menu_shell_append (GTK_MENU_SHELL (menu), mi);
}
-
+
g_free (ptext);
g_free (dtext);
-
+
mi = gtk_separator_menu_item_new ();
gtk_widget_set_sensitive (mi, FALSE);
gtk_menu_shell_append (GTK_MENU_SHELL (menu), mi);
-
+
mi = gtk_menu_item_new_with_label (_("Clear History"));
gtk_menu_shell_append (GTK_MENU_SHELL (menu), mi);
-
+
g_signal_connect (G_OBJECT (mi), "button_release_event",
G_CALLBACK (clipman_clear), clipman);
}
@@ -545,11 +543,11 @@
GdkScreen *screen;
GdkRectangle geom;
gint num;
-
+
gtk_widget_size_request (GTK_WIDGET (menu), &req);
-
+
gdk_window_get_origin (GTK_WIDGET (clipman->plugin)->window, x, y);
-
+
switch (xfce_panel_plugin_get_screen_position(clipman->plugin))
{
case XFCE_SCREEN_POSITION_SW_H:
@@ -558,14 +556,14 @@
DBG("Bottom");
*y -= req.height;
break;
-
+
case XFCE_SCREEN_POSITION_NW_H:
case XFCE_SCREEN_POSITION_N:
case XFCE_SCREEN_POSITION_NE_H:
DBG("Top");
*y += clipman->button->allocation.height;
break;
-
+
case XFCE_SCREEN_POSITION_NW_V:
case XFCE_SCREEN_POSITION_W:
case XFCE_SCREEN_POSITION_SW_V:
@@ -573,7 +571,7 @@
*x += clipman->button->allocation.width;
*y += clipman->button->allocation.height - req.height;
break;
-
+
case XFCE_SCREEN_POSITION_NE_V:
case XFCE_SCREEN_POSITION_E:
case XFCE_SCREEN_POSITION_SE_V:
@@ -581,7 +579,7 @@
*x -= req.width;
*y += clipman->button->allocation.height - req.height;
break;
-
+
case XFCE_SCREEN_POSITION_FLOATING_H:
case XFCE_SCREEN_POSITION_FLOATING_V:
case XFCE_SCREEN_POSITION_NONE:
@@ -593,12 +591,12 @@
screen = gtk_widget_get_screen (clipman->button);
num = gdk_screen_get_monitor_at_window (screen, clipman->button->window);
gdk_screen_get_monitor_geometry (screen, num, &geom);
-
+
if (*x > geom.x + geom.width - req.width)
*x = geom.x + geom.width - req.width;
if (*x < geom.x)
*x = geom.x;
-
+
if (*y > geom.y + geom.height - req.height)
*y = geom.y + geom.height - req.height;
if (*y < geom.y)
@@ -613,12 +611,12 @@
GtkWidget *mi;
GtkWidget *menu;
gchar *title;
-
+
if (ev->button != 1)
return FALSE;
-
+
gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (clipman->button), TRUE);
-
+
menu = gtk_menu_new ();
title = g_strdup_printf("<span weight=\"bold\">%s</span>", _("Clipman History"));
@@ -626,13 +624,13 @@
gtk_label_set_markup(GTK_LABEL(GTK_BIN(mi)->child), title);
gtk_widget_set_sensitive (mi, FALSE);
gtk_menu_shell_append (GTK_MENU_SHELL (menu), mi);
-
+
mi = gtk_separator_menu_item_new ();
gtk_widget_set_sensitive (mi, FALSE);
gtk_menu_shell_append (GTK_MENU_SHELL (menu), mi);
-
- if (clipman->SeparateMenu &&
- !clipman->IgnoreSelect &&
+
+ if (clipman->SeparateMenu &&
+ !clipman->IgnoreSelect &&
G_LIKELY (clipman->clips->len > 0))
{
clipman_clicked_separated (menu, clipman);
@@ -647,18 +645,18 @@
gtk_widget_set_sensitive (mi, FALSE);
gtk_menu_shell_append (GTK_MENU_SHELL (menu), mi);
}
-
+
gtk_widget_show_all (menu);
-
+
/* Also destroy the menu items when nothing is clicked */
g_signal_connect (G_OBJECT(menu), "deactivate",
G_CALLBACK(clipman_destroy_menu), clipman);
- gtk_menu_popup (GTK_MENU (menu), NULL, NULL,
- (GtkMenuPositionFunc) clipman_position_menu,
- clipman, 0,
+ gtk_menu_popup (GTK_MENU (menu), NULL, NULL,
+ (GtkMenuPositionFunc) clipman_position_menu,
+ clipman, 0,
gtk_get_current_event_time ());
-
+
return TRUE;
}
@@ -672,12 +670,12 @@
if (clipman->Behaviour == STRICTLY &&
G_LIKELY (clipman->clips->len > 0))
{
- /* Walk through the array till a clip of it's own
+ /* Walk through the array till a clip of it's own
* type is found, then past it in the clipboard */
for (i = clipman->clips->len; i--;)
{
clip = g_ptr_array_index (clipman->clips, i);
-
+
if (clip->fromtype == type)
{
switch (type)
@@ -689,9 +687,9 @@
gtk_clipboard_set_text(defaultClip, clip->text, -1);
break;
}
-
+
DBG("Clipboard restored with a clip from same type");
-
+
break;
}
}
@@ -700,7 +698,7 @@
{
/* Grap the latest clip and paste it in the clipboard */
clip = g_ptr_array_index (clipman->clips, (clipman->clips->len-1));
-
+
switch (type)
{
case PRIMARY:
@@ -710,9 +708,9 @@
gtk_clipboard_set_text(defaultClip, clip->text, -1);
break;
}
-
+
DBG("Last clip added");
- }
+ }
}
static gboolean
@@ -720,31 +718,31 @@
{
gchar *ptext = NULL, *dtext;
GdkModifierType state;
-
+
/* We ignore the selection clipboard entirely if you've activated this in the options dialog */
if (!clipman->IgnoreSelect)
{
/* Get mouse button information */
gdk_window_get_pointer(NULL, NULL, NULL, &state);
-
+
ptext = gtk_clipboard_wait_for_text (primaryClip);
-
+
if (clipman->PreventEmpty && ptext == NULL)
{
clipman_restore_empty (clipman, PRIMARY);
}
else if (ptext != NULL &&
- !(state & GDK_BUTTON1_MASK) &&
+ !(state & GDK_BUTTON1_MASK) &&
!clipman_exists (clipman, ptext, PRIMARY))
{
DBG("Item added from primary clipboard");
clipman_add_clip (clipman, ptext, PRIMARY);
clipman_check_array_len (clipman);
}
-
+
g_free (ptext);
}
-
+
dtext = gtk_clipboard_wait_for_text (defaultClip);
/* Check default clipboard */
@@ -761,7 +759,7 @@
}
g_free (dtext);
-
+
return TRUE;
}
@@ -772,7 +770,7 @@
{
if (clipman->TimeoutId != 0)
g_source_remove (clipman->TimeoutId);
-
+
clipman->TimeoutId = g_timeout_add_full (G_PRIORITY_LOW,
TIMER_INTERVAL,
(GSourceFunc) clipman_check,
@@ -790,24 +788,24 @@
guint i;
gchar name[13];
ClipmanClip *clip;
-
+
DBG("Saving clipman settings");
file = xfce_resource_save_location (XFCE_RESOURCE_CONFIG, "xfce4/panel/clipman.rc", TRUE);
if (G_UNLIKELY (!file))
return;
-
+
rc = xfce_rc_simple_open (file, FALSE);
g_free (file);
-
+
/* Save the preferences */
xfce_rc_set_group (rc, "Properties");
-
+
xfce_rc_write_bool_entry (rc, "ExitSave", clipman->ExitSave);
xfce_rc_write_bool_entry (rc, "IgnoreSelect", clipman->IgnoreSelect);
xfce_rc_write_bool_entry (rc, "PreventEmpty", clipman->PreventEmpty);
-
+
switch (clipman->Behaviour)
{
case NORMAL:
@@ -817,32 +815,32 @@
xfce_rc_write_int_entry (rc, "Behaviour", 2);
break;
}
-
+
xfce_rc_write_bool_entry (rc, "ItemNumbers", clipman->ItemNumbers);
xfce_rc_write_bool_entry (rc, "SeparateMenu", clipman->SeparateMenu);
-
+
xfce_rc_write_int_entry (rc, "HistoryItems", clipman->HistoryItems);
xfce_rc_write_int_entry (rc, "MenuCharacters", clipman->MenuCharacters);
-
+
/* Remove old content and create a new one */
xfce_rc_delete_group (rc, "Clips", TRUE );
-
- if (clipman->ExitSave &&
+
+ if (clipman->ExitSave &&
clipman->clips->len > 0
)
{
DBG("Saving the clipboard history");
-
+
xfce_rc_set_group (rc, "Clips");
xfce_rc_write_int_entry (rc, "ClipsLen", clipman->clips->len);
-
+
for (i = 0; i < clipman->clips->len; ++i)
{
clip = g_ptr_array_index (clipman->clips, i);
-
+
g_snprintf (name, 13, "clip_%d_text", i);
xfce_rc_write_entry (rc, name, clip->text);
-
+
g_snprintf (name, 13, "clip_%d_from", i);
if (clip->fromtype == PRIMARY)
xfce_rc_write_int_entry (rc, name, 0);
@@ -861,27 +859,27 @@
gchar *file, *value;
guint type, i, clipslen;
gchar name[13];
-
+
/* Because Clipman is unique, we use 1 config file */
/*
file = xfce_panel_plugin_save_location (clipman->plugin, FALSE);
DBG("Read from file: %s", file);
*/
-
+
file = xfce_resource_save_location (XFCE_RESOURCE_CONFIG, "xfce4/panel/clipman.rc", TRUE);
if (G_UNLIKELY (!file))
return;
-
+
rc = xfce_rc_simple_open (file, FALSE);
g_free (file);
-
+
xfce_rc_set_group (rc, "Properties");
-
+
clipman->ExitSave = xfce_rc_read_bool_entry (rc, "ExitSave", DEFEXITSAVE);
clipman->IgnoreSelect = xfce_rc_read_bool_entry (rc, "IgnoreSelect", DEFIGNORESELECT);
clipman->PreventEmpty = xfce_rc_read_bool_entry (rc, "PreventEmpty", DEFPREVENTEMPTY);
-
+
switch (xfce_rc_read_int_entry (rc, "Behaviour", DEFBEHAVIOUR))
{
case 1:
@@ -893,52 +891,52 @@
DBG ("Behaviour = STRICTLY");
break;
}
-
+
clipman->ItemNumbers = xfce_rc_read_bool_entry (rc, "ItemNumbers", DEFITEMNUMBERS);
clipman->SeparateMenu = xfce_rc_read_bool_entry (rc, "SeparateMenu", DEFSEPMENU);
-
+
clipman->HistoryItems = xfce_rc_read_int_entry (rc, "HistoryItems", DEFHISTORY);
clipman->MenuCharacters = xfce_rc_read_int_entry (rc, "MenuCharacters", DEFCHARS);
-
+
if (clipman->HistoryItems > MAXHISTORY)
clipman->HistoryItems = MAXHISTORY;
if (clipman->HistoryItems < MINHISTORY)
clipman->HistoryItems = MINHISTORY;
-
+
if (clipman->MenuCharacters > MAXCHARS)
clipman->MenuCharacters = MAXCHARS;
if (clipman->MenuCharacters < MINCHARS)
clipman->MenuCharacters = MINCHARS;
-
+
xfce_rc_set_group (rc, "Clips");
clipslen = xfce_rc_read_int_entry (rc, "ClipsLen", 0);
-
+
if (clipslen > MAXHISTORY)
clipslen = MAXHISTORY;
-
- if (clipman->ExitSave &&
+
+ if (clipman->ExitSave &&
clipslen > 0
)
{
DBG("Restoring the clipboard");
-
+
for (i = 0; i < clipslen; ++i)
{
g_snprintf (name, 13, "clip_%d_text", i);
value = g_strdup (xfce_rc_read_entry (rc, name, ""));
-
+
g_snprintf (name, 13, "clip_%d_from", i);
type = xfce_rc_read_int_entry (rc, name, 0);
-
+
if (type == 0)
clipman_add_clip (clipman, value, PRIMARY);
else
clipman_add_clip (clipman, value, DEFAULT);
-
+
g_free (value);
}
}
-
+
xfce_rc_close (rc);
}
@@ -947,42 +945,42 @@
{
ClipmanPlugin *clipman;
clipman = panel_slice_new0 (ClipmanPlugin);
-
+
clipman->clips = g_ptr_array_new ();
clipman->plugin = plugin;
-
+
clipman->tooltip = gtk_tooltips_new ();
g_object_ref (G_OBJECT (clipman->tooltip));
-
+
/* Load Settings */
clipman_read (clipman);
-
+
/* Create panel widgets */
clipman->button = xfce_create_panel_toggle_button ();
gtk_widget_show (clipman->button);
-
+
clipman->icon = gtk_image_new ();
gtk_widget_show (clipman->icon);
gtk_container_add (GTK_CONTAINER (clipman->button), clipman->icon);
-
+
gtk_tooltips_set_tip (GTK_TOOLTIPS(clipman->tooltip),
clipman->button, _("Clipboard Manager"),
NULL);
-
+
g_signal_connect(clipman->button, "button_press_event",
G_CALLBACK(clipman_clicked), clipman);
-
+
/* Start the clipman_check function */
clipman->TimeoutId = g_timeout_add_full(G_PRIORITY_LOW,
TIMER_INTERVAL,
(GSourceFunc) clipman_check,
clipman,
(GDestroyNotify) clipman_reset_timeout);
-
+
/* Connect to the clipboards */
defaultClip = gtk_clipboard_get (GDK_SELECTION_CLIPBOARD);
primaryClip = gtk_clipboard_get (GDK_SELECTION_PRIMARY);
-
+
return clipman;
}
@@ -993,12 +991,12 @@
guint i;
ClipmanClip *clip;
GtkWidget *dialog;
-
+
/* Valgrind notes:
- primaryClip and defaultClip should be cleared, but gtk
takes care about this
*/
-
+
/* Free the clipboards */
gtk_clipboard_clear (primaryClip);
gtk_clipboard_clear (defaultClip);
@@ -1016,7 +1014,7 @@
g_source_remove(clipman->TimeoutId);
clipman->TimeoutId = 0;
}
-
+
/* Remove clipboard items */
for (i = clipman->clips->len; i--;)
{
@@ -1028,14 +1026,14 @@
gtk_tooltips_set_tip (clipman->tooltip, clipman->button, NULL, NULL);
g_object_unref (G_OBJECT (clipman->tooltip));
-
+
gtk_widget_destroy (clipman->icon);
gtk_widget_destroy (clipman->button);
-
+
clipman->plugin = NULL;
-
+
DBG ("Plugin Freed");
-
+
panel_slice_free (ClipmanPlugin, clipman);
}
@@ -1046,44 +1044,44 @@
{
GdkPixbuf *pb;
gint size;
-
+
gtk_widget_set_size_request (clipman->button, wsize, wsize);
-
+
size = wsize - 2 - (2 * MAX (clipman->button->style->xthickness,
clipman->button->style->ythickness));
DBG("Set clipman button size to %dpx, load icon at %dpx", wsize, size);
-
+
pb = xfce_themed_icon_load ("gtk-paste", size);
gtk_image_set_from_pixbuf (GTK_IMAGE (clipman->icon), pb);
g_object_unref (G_OBJECT (pb));
-
+
return TRUE;
}
-static void
+static void
clipman_construct (XfcePanelPlugin *plugin)
{
ClipmanPlugin *clipman;
xfce_textdomain(GETTEXT_PACKAGE, PACKAGE_LOCALE_DIR, "UTF-8");
-
+
clipman = clipman_new (plugin);
-
+
gtk_container_add (GTK_CONTAINER (plugin), clipman->button);
-
+
xfce_panel_plugin_add_action_widget (plugin, clipman->button);
-
- g_signal_connect (plugin, "free-data",
+
+ g_signal_connect (plugin, "free-data",
G_CALLBACK (clipman_free), clipman);
-
- g_signal_connect (plugin, "save",
+
+ g_signal_connect (plugin, "save",
G_CALLBACK (clipman_save), clipman);
-
+
g_signal_connect (plugin, "size-changed",
G_CALLBACK (clipman_set_size), clipman);
-
+
xfce_panel_plugin_menu_show_configure (plugin);
- g_signal_connect (plugin, "configure-plugin",
+ g_signal_connect (plugin, "configure-plugin",
G_CALLBACK (clipman_configure), clipman);
}
Property changes on: xfce4-clipman-plugin/trunk/panel-plugin/clipman.c
___________________________________________________________________
Name: svn:keywords
- author date id revision
+ Id
Modified: xfce4-clipman-plugin/trunk/panel-plugin/clipman.h
===================================================================
--- xfce4-clipman-plugin/trunk/panel-plugin/clipman.h 2006-09-06 08:14:05 UTC (rev 1971)
+++ xfce4-clipman-plugin/trunk/panel-plugin/clipman.h 2006-09-06 08:21:54 UTC (rev 1972)
@@ -1,5 +1,3 @@
-/* vim: set expandtab ts=8 sw=4: */
-
/* $Id$
*
* Copyright (c) 2006 Nick Schermer <nick at xfce.org>
@@ -70,21 +68,21 @@
GtkWidget *icon;
GtkWidget *button;
GtkTooltips *tooltip;
-
+
GPtrArray *clips;
-
+
gint TimeoutId;
gboolean killTimeout;
-
+
gboolean ExitSave;
gboolean IgnoreSelect;
gboolean PreventEmpty;
-
+
ClipboardBehaviour Behaviour;
-
+
gboolean ItemNumbers;
gboolean SeparateMenu;
-
+
guint HistoryItems;
guint MenuCharacters;
}
Property changes on: xfce4-clipman-plugin/trunk/panel-plugin/clipman.h
___________________________________________________________________
Name: svn:keywords
+ Id
More information about the Goodies-commits
mailing list