~ubuntu-branches/ubuntu/oneiric/gnome-panel/oneiric

« back to all changes in this revision

Viewing changes to gnome-panel/panel-action-button.c

  • Committer: Bazaar Package Importer
  • Author(s): Jeremy Bicha
  • Date: 2011-08-17 21:57:14 UTC
  • mfrom: (1.13.11 upstream)
  • Revision ID: james.westby@ubuntu.com-20110817215714-mr18pl4hqedmprd7
Tags: 1:3.1.5-0ubuntu1
* New upstream release.
* debian/control: Bump gnome-menus dependencies
* debian/libpanel-applet-4-dev.install: No longer any *.a files to install
* debian/patches/09_default_icons.patch: Disabled until it can be ported
* debian/patches/90_build_fixes.patch: Dropped, applied upstream

Show diffs side-by-side

added added

removed removed

Lines of Context:
387
387
        return G_CALLBACK (actions[type].invoke);
388
388
}
389
389
 
390
 
G_CONST_RETURN char*
 
390
const char*
391
391
panel_action_get_icon_name (PanelActionButtonType type)
392
392
{
393
393
        g_return_val_if_fail (type > PANEL_ACTION_NONE && type < PANEL_ACTION_LAST, NULL);
395
395
        return actions[type].icon_name;
396
396
}
397
397
 
398
 
G_CONST_RETURN char*
 
398
const char*
399
399
panel_action_get_text (PanelActionButtonType type)
400
400
{
401
401
        g_return_val_if_fail (type > PANEL_ACTION_NONE && type < PANEL_ACTION_LAST, NULL);
403
403
        return _(actions[type].text);
404
404
}
405
405
 
406
 
G_CONST_RETURN char*
 
406
const char*
407
407
panel_action_get_tooltip (PanelActionButtonType type)
408
408
{
409
409
        g_return_val_if_fail (type > PANEL_ACTION_NONE && type < PANEL_ACTION_LAST, NULL);
411
411
        return _(actions[type].tooltip);
412
412
}
413
413
 
414
 
G_CONST_RETURN char*
 
414
const char*
415
415
panel_action_get_drag_id (PanelActionButtonType type)
416
416
{
417
417
        g_return_val_if_fail (type > PANEL_ACTION_NONE && type < PANEL_ACTION_LAST, NULL);