This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| yurenju@yurenju-desktop:~/projects/lxlauncher-gmenu/data$ svn ci --username yurenju launcher.menu | |
| svn: 送交失敗 (細節隨附): | |
| svn: Server sent unexpected return value (403 Forbidden) in response to MKACTIVITY request for '/svnroot/lxde/!svn/act/28efa11d-076a-493c-8504-233b6c0e7f11' | |
| svn: 你的送交訊息遺留在暫存檔中: | |
| svn: '/home/yurenju/projects/lxlauncher-gmenu/data/svn-commit.2.tmp' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Index: src/vfs-utils.c | |
| =================================================================== | |
| --- src/vfs-utils.c (revision 838) | |
| +++ src/vfs-utils.c (working copy) | |
| @@ -35,7 +35,7 @@ | |
| file = gtk_icon_info_get_filename( inf ); | |
| if( G_LIKELY( file ) ) | |
| - icon = gdk_pixbuf_new_from_file( file, NULL ); | |
| + icon = gdk_pixbuf_new_from_file_at_scale(file, size, size, TRUE, NULL); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class LinuxApplication(db.Model): | |
| Package = db.StringProperty(required=True) | |
| DownloadCount = db.IntegerProperty() | |
| Section = db.StringProperty() | |
| Name = db.ReferenceProperty(TranslationString) | |
| Comment = db.ReferenceProperty(TranslationText) | |
| GenericName = db.ReferenceProperty(TranslationString) | |
| Exec = db.StringProperty() | |
| Icon = db.StringProperty() | |
| Categories = db.ListProperty(int) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class LinuxApplication(db.Model): | |
| Package = db.StringProperty(required=True) | |
| DownloadCount = db.IntegerProperty() | |
| Section = db.StringProperty() | |
| Name = db.ReferenceProperty(TranslationString, collection_name='name_collection') | |
| Comment = db.ReferenceProperty(TranslationString, collection_name='comment_collection') | |
| GenericName = db.ReferenceProperty(TranslationString, collection_name='generic_name_collection') | |
| Exec = db.StringProperty() | |
| Icon = db.StringProperty() | |
| Categories = db.ListProperty(int) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <match key="info.product" string="TPPS/2 IBM TrackPoint"> | |
| <merge key="input.x11_options.EmulateWheel" type="string">true</merge> | |
| <merge key="input.x11_options.EmulateWheelButton" type="string">2</merge> | |
| <merge key="input.x11_options.XAxisMapping" type="string">6 7</merge> | |
| <merge key="input.x11_options.YAxisMapping" type="string">4 5</merge> | |
| <merge key="input.x11_options.ZAxsisMapping" type="string">4 5</merge> | |
| <merge key="input.x11_options.Emulate3Buttons" type="string">true</merge> | |
| </match> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function! OnlineDoc() | |
| let s:browser = "firefox" | |
| let s:wordUnderCursor = expand("<cword>") | |
| if &ft == "cpp" || &ft == "c" || &ft == "ruby" || &ft == "php" || &ft == "python" | |
| let s:url = "http://www.google.com/codesearch?q=".s:wordUnderCursor."+lang:".&ft | |
| elseif &ft == "vim" | |
| let s:url = "http://www.google.com/codesearch?q=".s:wordUnderCursor | |
| else | |
| return |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python | |
| # -*- coding: iso-8859-1 -*- | |
| import pygtk | |
| pygtk.require('2.0') | |
| import sys, os, errno | |
| import gtk | |
| import pango | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| static void | |
| set_event_box_background (GtkWidget *event_box) | |
| { | |
| GError *error = NULL; | |
| const gchar *file_path = g_strjoin ("/", PKGDATADIR, "images", "slider_bg.png", NULL); | |
| GdkPixbuf *pixbuf = gdk_pixbuf_new_from_file (file_path, &error); | |
| GdkPixmap *pixmap = NULL; | |
| GdkPixmap *mask = NULL; | |
| gdk_pixbuf_render_pixmap_and_mask (pixbuf, &pixmap, &mask, 255); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function pget() | |
| { | |
| echo $1 | |
| cmd="pget -n 5 $1; exit" | |
| lftp -e "$cmd" | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const Ci = Components.interfaces; | |
| const Cc = Components.classes; | |
| const Cr = Components.results; | |
| const Cu = Components.utils; | |
| Cu.import("resource://gre/modules/XPCOMUtils.jsm"); | |
| function promptService() { | |
| let bundleService = Cc["@mozilla.org/intl/stringbundle;1"].getService(Ci.nsIStringBundleService); | |
| this._bundle = bundleService.createBundle("chrome://global/locale/commonDialogs.properties"); |
OlderNewer