~cairo-dock-team/ubuntu/precise/cairo-dock/3.0.0.0rc1

« back to all changes in this revision

Viewing changes to src/gldit/cairo-dock-gui-factory.h

  • Committer: Bazaar Package Importer
  • Author(s): Matthieu Baerts (matttbe)
  • Date: 2011-03-17 14:08:48 UTC
  • mfrom: (1.1.14 upstream)
  • Revision ID: james.westby@ubuntu.com-20110317140848-b8efysl4ynhjm87k
Tags: 2.3.0~1-0ubuntu1
* New Upstream Version (LP: #723994)
* Upstream short ChangeLog:
 - Updated translations
 - Updated the integration of the new versions of kwin and compiz
 - Updated default theme
 - Fixed a few bugs
 - Updated the man
* debian/control:
 - Added suggests apps for cairo-dock-core (needed by the default theme)
 - Updated the description (from launchpad.net/cairo-dock)
 - Added cairo-dock-plug-ins as a new suggestion for cairo-dock-core
* debian/patches:
 - Updated the default theme to use default apps of Ubuntu Natty 
* Switch to dpkg-source 3.0 (quilt) format
* Removed the desktop-file-category patch (sync with debian packages)
* debian/rules:
 - Added a CMake flag to disable the gtk grip
 - No longer used simple-patchsys
* Updated the debian/watch

Show diffs side-by-side

added added

removed removed

Lines of Context:
90
90
        CAIRO_DOCK_WIDGET_DESKLET_DECORATION_LIST='O',
91
91
        /// same but with the 'default' choice too.
92
92
        CAIRO_DOCK_WIDGET_DESKLET_DECORATION_LIST_WITH_DEFAULT='o',
93
 
        // list of gauges themes.
94
 
        //CAIRO_DOCK_WIDGET_GAUGE_LIST='g',
95
93
        /// list of existing docks.
96
94
        CAIRO_DOCK_WIDGET_DOCK_LIST='d',
97
95
        /// list of installed icon themes.
98
96
        CAIRO_DOCK_WIDGET_ICON_THEME_LIST='w',
99
 
        /// list of available modules.
100
 
        CAIRO_DOCK_WIDGET_MODULE_LIST='N',
101
97
        /// a button to jump to another module inside the config panel.
102
98
        CAIRO_DOCK_WIDGET_JUMP_TO_MODULE='m',
103
99
        /// same but only if the module exists.
161
157
        
162
158
/// Model used for combo-box and tree-view. CAIRO_DOCK_MODEL_NAME is the name as displayed in the widget, and CAIRO_DOCK_MODEL_RESULT is the resulting string effectively written in the config file.
163
159
typedef enum {
164
 
        CAIRO_DOCK_MODEL_NAME = 0,
165
 
        CAIRO_DOCK_MODEL_RESULT,
166
 
        CAIRO_DOCK_MODEL_DESCRIPTION_FILE,
167
 
        CAIRO_DOCK_MODEL_ACTIVE,
168
 
        CAIRO_DOCK_MODEL_ORDER,
169
 
        CAIRO_DOCK_MODEL_IMAGE,
170
 
        CAIRO_DOCK_MODEL_ICON,
171
 
        CAIRO_DOCK_MODEL_ORDER2,
172
 
        CAIRO_DOCK_MODEL_STATE,
 
160
        CAIRO_DOCK_MODEL_NAME = 0,  // displayed name
 
161
        CAIRO_DOCK_MODEL_RESULT,  // string that will be used for this line
 
162
        CAIRO_DOCK_MODEL_DESCRIPTION_FILE,  // readme file
 
163
        CAIRO_DOCK_MODEL_IMAGE,  // preview file
 
164
        CAIRO_DOCK_MODEL_ACTIVE,  // whether the line is enabled/disabled (checkbox)
 
165
        CAIRO_DOCK_MODEL_ORDER,  // used to sort lines
 
166
        CAIRO_DOCK_MODEL_ORDER2,  // used to sort lines
 
167
        CAIRO_DOCK_MODEL_ICON,  // icon to be displayed
 
168
        CAIRO_DOCK_MODEL_STATE,  // used to give a state to the line
 
169
        CAIRO_DOCK_MODEL_SIZE,  // size
 
170
        CAIRO_DOCK_MODEL_AUTHOR,  // author
173
171
        CAIRO_DOCK_MODEL_NB_COLUMNS
174
172
        } CairoDockGUIModelColumns;
175
173
 
183
181
        GtkWidget *pKeyBox;
184
182
        };
185
183
 
186
 
void cairo_dock_build_renderer_list_for_gui (GHashTable *pHashTable);
187
 
void cairo_dock_build_desklet_decorations_list_for_gui (GHashTable *pHashTable);
188
 
void cairo_dock_build_desklet_decorations_list_for_applet_gui (GHashTable *pHashTable);
189
 
void cairo_dock_build_animations_list_for_gui (GHashTable *pHashTable);
190
 
void cairo_dock_build_dialog_decorator_list_for_gui (GHashTable *pHashTable);
191
184
 
 
185
GtkWidget *cairo_dock_gui_make_preview_box (GtkWidget *pMainWindow, GtkWidget *pOneWidget, gboolean bHorizontalPackaging, int iAddInfoBar, const gchar *cInitialDescription, const gchar *cInitialImage, GPtrArray *pDataGarbage);
192
186
 
193
187
void _cairo_dock_set_value_in_pair (GtkSpinButton *pSpinButton, gpointer *data);  // exportee pour pouvoir desactiver la callback.
194
188
 
212
206
 
213
207
void cairo_dock_fill_combo_with_list (GtkWidget *pCombo, GList *pElementList, const gchar *cActiveElement);  // utile pour les applets.
214
208
 
215
 
GtkWidget *cairo_dock_gui_make_tree_view (void);
 
209
GtkWidget *cairo_dock_gui_make_tree_view (gboolean bGetActiveOnly);
216
210
 
217
211
GtkWidget *cairo_dock_gui_make_combo (gboolean bWithEntry);
218
212