annotate src/ui_menu.h @ 1672:994169573393

Complete commit @1747 (intltool usage) With using intltool the localisation will fail cause of missing desktop.in file. Also the old desktop files are obsoleted by this commit. Also it is not necessary any more to have a './' in front of the files in POTFILES.in.
author mow
date Sat, 27 Jun 2009 22:57:56 +0000
parents 0806ccdfe06b
children 956aab097ea7
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
9
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
1 /*
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
2 * (SLIK) SimpLIstic sKin functions
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
3 * (C) 2004 John Ellis
1284
8b89e3ff286b Add year 2009 to copyright info everywhere.
zas_
parents: 1055
diff changeset
4 * Copyright (C) 2008 - 2009 The Geeqie Team
9
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
5 *
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
6 * Author: John Ellis
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
7 *
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
8 * This software is released under the GNU General Public License (GNU GPL).
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
9 * Please read the included file COPYING for more information.
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
10 * This software comes with no warranty of any kind, use at your own risk!
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
11 */
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
12
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
13
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
14 #ifndef UI_MENU_H
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
15 #define UI_MENU_H
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
16
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
17
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
18 GtkWidget *menu_item_add(GtkWidget *menu, const gchar *label,
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
19 GCallback func, gpointer data);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
20 GtkWidget *menu_item_add_stock(GtkWidget *menu, const gchar *label, const gchar *stock_id,
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
21 GCallback func, gpointer data);
1448
89dedc61b1bd gint -> gboolean.
zas_
parents: 1284
diff changeset
22 GtkWidget *menu_item_add_sensitive(GtkWidget *menu, const gchar *label, gboolean sensitive,
9
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
23 GCallback func, gpointer data);
1448
89dedc61b1bd gint -> gboolean.
zas_
parents: 1284
diff changeset
24 GtkWidget *menu_item_add_stock_sensitive(GtkWidget *menu, const gchar *label, const gchar *stock_id, gboolean sensitive,
9
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
25 GCallback func, gpointer data);
1448
89dedc61b1bd gint -> gboolean.
zas_
parents: 1284
diff changeset
26 GtkWidget *menu_item_add_check(GtkWidget *menu, const gchar *label, gboolean active,
9
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
27 GCallback func, gpointer data);
1667
0806ccdfe06b simplified menu_item_add_radio usage
nadvornik
parents: 1448
diff changeset
28 GtkWidget *menu_item_add_radio(GtkWidget *menu, const gchar *label, gpointer item_data, gboolean active,
113
55166d93498d Fri Nov 24 21:37:01 2006 John Ellis <johne@verizon.net>
gqview
parents: 9
diff changeset
29 GCallback func, gpointer data);
9
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
30 void menu_item_add_divider(GtkWidget *menu);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
31
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
32 /* use to avoid mnemonics, for example filenames */
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
33 GtkWidget *menu_item_add_simple(GtkWidget *menu, const gchar *label,
442
4b2d7f9af171 Big whitespaces cleanup:
zas_
parents: 113
diff changeset
34 GCallback func, gpointer data);
9
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
35
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
36 GtkWidget *popup_menu_short_lived(void);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
37
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
38 /* clamp a menu's position to within the screen
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
39 * if menu will attempt to stay out of region y to y+height
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
40 */
1448
89dedc61b1bd gint -> gboolean.
zas_
parents: 1284
diff changeset
41 gboolean popup_menu_position_clamp(GtkMenu *menu, gint *x, gint *y, gint height);
9
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
42
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
43
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
44 #endif
1055
1646720364cf Adding a vim modeline to all files - patch by Klaus Ethgen
nadvornik
parents: 475
diff changeset
45 /* vim: set shiftwidth=8 softtabstop=0 cindent cinoptions={1s: */